October 10 Issues » [Issue 24803] __traits(location) is inconsistent with modules | |||
|---|---|---|---|
| |||
...dmd pull request #16983 "Fix bugzilla 24803 - __traits(location) is inconsistent with modules" was merged... | |||
October 10 Issues » [Issue 24803] __traits(location) is inconsistent with modules | |||
|---|---|---|---|
| |||
...24803 - __traits(location) is inconsistent with modules" fixing this issue: - Fix bugzilla 24803 - __traits(location... | |||
October 10 Issues » [Issue 24803] New: __traits(location) is inconsistent with modules | |||
|---|---|---|---|
| |||
...traits(getLocation, __traits(parent, main));
// Error: `AliasSeq!("onlineapp.d", 1, 8)` has no effect
__traits... | |||
October 05 Issues » [Issue 24797] New: isZeroInit is wrongly false for some struct/union nesting | |||
|---|---|---|---|
| |||
...a different offset to y
}
}
static assert(__traits(isZeroInit, U3)); // fails
Using `StructDeclaration.members` rather... | |||
September 28 General » Template Lambdas | |||
|---|---|---|---|
| |||
...be able to do:
```d
import std.traits : isIntegral;
static assert(allSatisfy!(
function template(T... | |||
September 25 DIP Ideas » Re: Symbol Registration | |||
|---|---|---|---|
| |||
...static foreach (member; __traits(allMembers, THIS_MODULE))
{
static foreach (attr; __traits(getAttributes, __traits(getMember, THIS... | |||
September 25 DIP Ideas » Symbol Registration | |||
|---|---|---|---|
| |||
...MySymbolTransformation(alias symbol) {
enum MySymbolTransformation = MySymbolstate(__traits(fullyQualifiedName, symbol), __traits(identifier, symbol));
}
```
By the user... | |||
September 24 General » Meaningful identifiers and other multi-token keywords | |||
|---|---|---|---|
| |||
...instead of keywords: - Pragmas - Traits - Linkages - Scope guards For pragmas and traits, this is total... | |||
September 24 General » Re: float.sizeof should be 4 | |||
|---|---|---|---|
| |||
...E == enum))
{
alias T = imported!"std.traits".OriginalType!E;
enum ByteSize = T.sizeof... | |||
September 23 DIP Development » Re: Third and Hopefully Last Draft: Primary Type Syntax | |||
|---|---|---|---|
| |||
...Scope guards utilize magic identifiers, and unlike `__traits` or `pragma`, there is no-arg `scope... | |||
Copyright © 1999-2021 by the D Language Foundation