February 26, 2022 Learn » Detecting ElementType of OutputRange | |||
|---|---|---|---|
| |||
...traits(getOverloads, R, "put")) {
pragma(msg, "Found put...void put(T d) {}
}
assert(is(ElementType!(Ham0... | |||
February 17, 2022 Issues » [Issue 22775] The __traits does not see the scope attribute | |||
|---|---|---|---|
| |||
...func"));
pragma(msg, Cconst, " : ", getMemberType!(Cconst, "func"));
pragma(msg, getMemberType!(Cscope, "func").stringof);
static assert... | |||
February 10, 2022 Announce » Re: Added copy constructors to "Programming in D" | |||
|---|---|---|---|
| |||
...pragma(msg, foo.mangleof); // _Z3fooi not _Z3fooKi pragma...auto p2 = ptr; static assert(is(typeof(p2... | |||
February 04, 2022 Genel » Re: GBS-6: Statik Üyeye Sahip Yapı | |||
|---|---|---|---|
| |||
...pek kıymetlimiz assert görevini yapıyor. assert başta da...olduklarını bildirir: pragma(msg, float.dig); pragma(msg... | |||
January 25, 2022 General » idea: static scope(failure) | |||
|---|---|---|---|
| |||
...static assert triggers. Of course, the static assert...if(!__traits(compiles, entireLineOfCode)) pragma(msg, "Context: ", relevant... | |||
January 09, 2022 Duyuru » Re: Sohbet: 9 Ocak 2022, Pazar, sabah 10:00 (Türkiye saati) | |||
|---|---|---|---|
| |||
...1 : "bir" ];
assert(1 in aa);
assert(2...0..$/2];
}
}
void main() {
pragma(msg, typeof((immutable... | |||
December 14, 2021 General » Re: String interpolation, after a healthy debate on discord | |||
|---|---|---|---|
| |||
...of `std.conv.text`. `pragma(msg, "x = ", x...to ignore the header. assert would need some... | |||
December 14, 2021 General » Re: String interpolation, after a healthy debate on discord | |||
|---|---|---|---|
| |||
...both at compile-time (`mixin` and `static assert`) and runtime (regular `assert` and `pragma(msg)`). | |||
December 14, 2021 General » Re: String interpolation, after a healthy debate on discord | |||
|---|---|---|---|
| |||
...istring should be allowed in `mixin`, `pragma(msg)` and `assert` (missed this one). This requires... | |||
November 20, 2021 Genel » Dconf 2014 (3. gün)'den Güzel Bir CTFE Örneği: | |||
|---|---|---|---|
| |||
...Burası Top");
break;
default:
assert(false);
}
},
var,
cases...int main()
{
with(CASE) {
pragma(msg, buildSwitch("SWITCH... | |||
Copyright © 1999-2021 by the D Language Foundation