Search

October 13
Issues »
...does not compile, so it is consistent:
```
__traits(getAttributes, E.int32)[0].Type x;
```

Alternatively...
October 13
Issues »
https://issues.dlang.org/show_bug.cgi?id=24808

Nick Treleaven <nick@geany.org> changed...
October 12
DIP Ideas »
...correct.

I suggest two new traits `__traits(delete_alias)` and `__traits(keep_alias)`, that explicitly...
October 12
Issues »
...Issue ID: 24808
           Summary: Semicolon expected after traits
           Product: D
           Version: D2
          Hardware: x86_64...
October 11
Learn »
...extern int x;
int y;

pragma(msg, __traits(isSame, y, x));
```

I tried it now...
October 11
Learn »
Oh how fantastic! What a great feature, thank you so much for your assistance.
Take...
October 11
Learn »
There is no __traits mechanism to directly determine whether a symbol is extern. However, the...
October 11
Learn »
...x` is `extern` and `y` is not? There seems to be no `__traits` for it.
October 11
Learn »
```d
import std.stdio, core.interpolation;
void show(Args...)(InterpolationHeader hdr, Args args, InterpolationFooter ftr...
October 11
Learn »
...print functions and have been using the `__traits(identifier, x)` to get the name of...
1 2 3 4 5 6 7 8
Next ›   Last »