Search

January 24, 2024
Announce »
be there or be square!
October 25, 2023
General »
...string. On the right, a desolate town square with people of different genders and descents...
August 19, 2023
General »
...signed) byte! So the result of your square may be even negative, breaking a whole...
August 16, 2023
General »
...square root and then checks after the fact whether the input was a perfect square...
August 14, 2023
General »
...function:

```d
template square(T)
if (is(T)) // <-- right here
{
    T square(T param) { return...
August 14, 2023
General »
...template square(T:int){
    T square(T param){
    return param * param;
    }
}


void main()
{
    writeln(square...
August 10, 2023
General »
...wondered why compiler rewrite `square!(int)(3)` as `square!(int).square(3)`, but in the...
August 09, 2023
General »
...20square!(int)(3);%0A%20%20%20writeln(square!(int)(3));%0A%20%20%20%20...
August 09, 2023
General »
...square(T) {
    static if (true) {
        T square(T t) {
            return t * t;
        }
    }
}
}
```
trivial expression `square...
May 10, 2023
Issues »
...The capture list is syntactically expressed with square brackets (or, as an alternative, with `catch...
1 2 3
Next ›   Last »