October 13 Issues » [Issue 24808] Semicolon expected after traits | |||
|---|---|---|---|
| |||
...does not compile, so it is consistent: ``` __traits(getAttributes, E.int32)[0].Type x; ``` Alternatively... | |||
October 13 Issues » [Issue 24808] Semicolon expected after traits | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24808 Nick Treleaven <nick@geany.org> changed... | |||
October 12 DIP Ideas » explicitly temporary or permanent alias | |||
|---|---|---|---|
| |||
...correct. I suggest two new traits `__traits(delete_alias)` and `__traits(keep_alias)`, that explicitly... | |||
October 12 Issues » [Issue 24808] New: Semicolon expected after traits | |||
|---|---|---|---|
| |||
...Issue ID: 24808
Summary: Semicolon expected after traits
Product: D
Version: D2
Hardware: x86_64... | |||
October 11 Learn » Re: (How) can reflection recoginzie `extern` variables? | |||
|---|---|---|---|
| |||
...extern int x; int y; pragma(msg, __traits(isSame, y, x)); ``` I tried it now... | |||
October 11 Learn » Re: Accessing __traits(identifier) for variadic function arguments | |||
|---|---|---|---|
| |||
Oh how fantastic! What a great feature, thank you so much for your assistance. Take... | |||
October 11 Learn » Re: (How) can reflection recoginzie `extern` variables? | |||
|---|---|---|---|
| |||
There is no __traits mechanism to directly determine whether a symbol is extern. However, the... | |||
October 11 Learn » (How) can reflection recoginzie `extern` variables? | |||
|---|---|---|---|
| |||
...x` is `extern` and `y` is not? There seems to be no `__traits` for it. | |||
October 11 Learn » Re: Accessing __traits(identifier) for variadic function arguments | |||
|---|---|---|---|
| |||
```d import std.stdio, core.interpolation; void show(Args...)(InterpolationHeader hdr, Args args, InterpolationFooter ftr... | |||
October 11 Learn » Accessing __traits(identifier) for variadic function arguments | |||
|---|---|---|---|
| |||
...print functions and have been using the `__traits(identifier, x)` to get the name of... | |||
Copyright © 1999-2021 by the D Language Foundation