April 22, 2019 Learn » Re: alias fails to compile | |||
|---|---|---|---|
| |||
...template AliasMember(string aliasName, string memberName) {
ref opDispatch(string name)() if (name == aliasName) {
return mixin... | |||
June 27, 2018 Learn » Preferred Alias Declaration Style | |||
|---|---|---|---|
| |||
...uses examples of the form: `alias aliasName = other;`, where `aliasName` becomes the new name to... | |||
June 26, 2018 Issues » [Issue 19029] New: Provide alias symbol name trait | |||
|---|---|---|---|
| |||
...is an alias. A new trait, `__traits(aliasName, symbol)`, could be used to retrieve the... | |||
May 24, 2016 General » with and checked with expression? | |||
|---|---|---|---|
| |||
...input
T t = T #aliasName { }; // works with any type, can use aliasName to refer to... | |||
September 01, 2014 Learn » Re: alias and mixin | |||
|---|---|---|---|
| |||
...aliasName, string Name, alias
Replace) {
static if ( __traits(compiles, (mixin(Name~`.sizeof`))) )
mixin(`alias `~aliasName... | |||
September 01, 2014 Learn » Re: alias and mixin | |||
|---|---|---|---|
| |||
...aliasName, string Name, alias Replace) ()
{
static if ( __traits(compiles, (mixin(Name~`.sizeof`))) )
return `alias `~aliasName... | |||
November 10, 2013 General » Re: Why the @ in @safe? & UDAs | |||
|---|---|---|---|
| |||
...alias this" in new way like alias aliasName = symbol. @/@safe/@UDA -> causes dissonance over 9000... | |||
January 09, 2013 Learn » Re: Inner function overload bug? | |||
|---|---|---|---|
| |||
...it. mixin can have names (mixin TemplateName AliasName;) which the functions as a disambiguator. I... | |||
September 21, 2012 General » GC.malloc problems with the DMD | |||
|---|---|---|---|
| |||
...SCHAR ownname[32]; ISC_SHORT aliasname_length; ISC_SCHAR aliasname[32]; } const SQLDA_VERSION1 = 1... | |||
August 05, 2010 General » Re: Mixin Expressions, can't evalutate string variable | |||
|---|---|---|---|
| |||
...name of an alias using __traits(identifier, aliasName), like this for example: template Name(alias... | |||
Copyright © 1999-2021 by the D Language Foundation