January 24, 2024 Announce » Dlang mtg at Red Robin in Overlake 7pm tonight | |||
|---|---|---|---|
| |||
be there or be square! | |||
October 25, 2023 General » Re: String Interpolation | |||
|---|---|---|---|
| |||
...string. On the right, a desolate town square with people of different genders and descents... | |||
August 19, 2023 General » Re: D design problem on platforms with <32 bit pointer width | |||
|---|---|---|---|
| |||
...signed) byte! So the result of your square may be even negative, breaking a whole... | |||
August 16, 2023 General » QRat update | |||
|---|---|---|---|
| |||
...square root and then checks after the fact whether the input was a perfect square... | |||
August 14, 2023 General » Re: Eponymous template with static if | |||
|---|---|---|---|
| |||
...function:
```d
template square(T)
if (is(T)) // <-- right here
{
T square(T param) { return... | |||
August 14, 2023 General » Re: Eponymous template with static if | |||
|---|---|---|---|
| |||
...template square(T:int){
T square(T param){
return param * param;
}
}
void main()
{
writeln(square... | |||
August 10, 2023 General » Re: Eponymous template with static if | |||
|---|---|---|---|
| |||
...wondered why compiler rewrite `square!(int)(3)` as `square!(int).square(3)`, but in the... | |||
August 09, 2023 General » Re: Eponymous template with static if | |||
|---|---|---|---|
| |||
...20square!(int)(3);%0A%20%20%20writeln(square!(int)(3));%0A%20%20%20%20... | |||
August 09, 2023 General » Eponymous template with static if | |||
|---|---|---|---|
| |||
...square(T) {
static if (true) {
T square(T t) {
return t * t;
}
}
}
}
```
trivial expression `square... | |||
May 10, 2023 Issues » [Issue 23136] closure in a loop should hold distinct values for each iteration | |||
|---|---|---|---|
| |||
...The capture list is syntactically expressed with square brackets (or, as an alternative, with `catch... | |||
Copyright © 1999-2021 by the D Language Foundation