September 08, 2020 General » Re: Difference between "can call" and "can compile" | |||
|---|---|---|---|
| |||
...alias sym, Args...)
{
// create a syntactical "copy" of 'sym'
void Proto (CompileTimeParams!sym)(RunTimeParams!sym... | |||
August 10, 2020 Issues » [Issue 21144] A __trait should give access to interface implementation vtbl and their offsets | |||
|---|---|---|---|
| |||
...b = (*cd.vtblInterfaces)[i];
ClassDeclaration id = b.sym;
/* The layout is:
* struct Interface
* {
* ClassInfo classinfo... | |||
June 27, 2020 Issues » [Issue 20982] Add a pragma to suppress deprecation messages | |||
|---|---|---|---|
| |||
...Foo))
{
static if (!__traits(isDeprecated, __traits(getMember, Foo, name)))
{{
alias sym = __traits(getMember, Foo, name);
}}
}
-- | |||
May 24, 2020 Announce » Re: BindBC Updates: new loader function, SDL_net, streamlined SDL_* version indentifiers | |||
|---|---|---|---|
| |||
...c8b_76e.obj) : error LNK2001: unresolved external sym bol _printf phobos32mscoff.lib(parseoptions_d98_7cf... | |||
April 21, 2020 Learn » Re: Enum conversion | |||
|---|---|---|---|
| |||
...a = cast(sym)"s value"; // ok
assert(a == sym.s);
auto b = to!sym("s... | |||
March 21, 2020 Issues » [Issue 19500] assert(idec.type.ty != Tclass || (cast(TypeClass)idec.type).sym == idec) fails | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=19500 Basile-z <b2.temp@gmx.com... | |||
February 29, 2020 Learn » Re: Should getSymbolsByUDA work with member variables? | |||
|---|---|---|---|
| |||
...y() {}
this() {
}
}
static foreach(sym; getSymbolsByUDA!(Foo, 1))
pragma(msg, sym.stringof); // prints x
But... | |||
February 15, 2020 Learn » Re: static foreach over enum symbols | |||
|---|---|---|---|
| |||
...to avoid redefinitions.
alias sym = symbols!a[i];
pragma(msg, fullyQualifiedName!sym);
}
[1] https://dlang... | |||
February 14, 2020 Learn » static foreach over enum symbols | |||
|---|---|---|---|
| |||
...static foreach(sym; symbols!a){
pragma(msg, fullyQualifiedName!sym);
pragma(msg, __traits(getAttributes, sym));
}
pragma... | |||
January 18, 2020 Issues » [Issue 20518] New: simple import ICE regression | |||
|---|---|---|---|
| |||
...jcolvin_sym\Git\Digger\work\result\bin\sc.ini DFLAGS -IC:\Users\jcolvin_sym\Git... | |||
Copyright © 1999-2021 by the D Language Foundation