September 10, 2019 General » Re: DIP 1020--Named Parameters--Community Review Round 2 | |||
|---|---|---|---|
| |||
...is true, not just assert it. At the...T for type ulong pragma(msg, size!int... | |||
August 13, 2019 General » Early exit error messages are unsustainable | |||
|---|---|---|---|
| |||
...the idea of static assert behaving correctly (note...derp;
alias derp this;
}
pragma( msg, SomethingElse.Val... | |||
July 30, 2019 General » Re: why MemberFunctionsTuple not support struct ? | |||
|---|---|---|---|
| |||
...bool kill() {
return true;
}
}
pragma(msg, typeof(&__traits...typeof(KillCallback.init.funcptr) );
static assert(IS_SAME); | |||
July 30, 2019 General » why MemberFunctionsTuple not support struct ? | |||
|---|---|---|---|
| |||
...bool kill() {
return true;
}
}
pragma(msg, typeof(__traits...typeof(KillCallback.init.funcptr) );
static assert(IS_SAME);
| |||
July 30, 2019 Learn » how to get the struct member as delegate type ? | |||
|---|---|---|---|
| |||
...static assert( isFunction!Fn );
pragma(msg, D);
pragma(msg, typeof(D.init.funcptr));
pragma(msg... | |||
July 29, 2019 Learn » Re: Why in Phobos is empty() sometimes const and sometimes not | |||
|---|---|---|---|
| |||
...return true; }
}
void main()
{
pragma(msg, typeof(&MyRange...const. */
const MyRange!() r;
assert(r.empty); /* fails... | |||
July 27, 2019 General » Re: My Little Dustmite: Bisect is Magic | |||
|---|---|---|---|
| |||
...static_assert(alias condition, string message)()
{
version(continue_past_assert)
{
static if (!condition)
pragma(msg... | |||
July 27, 2019 General » Re: My Little Dustmite: Bisect is Magic | |||
|---|---|---|---|
| |||
...point myself. The static assert here is kinda useless, a pragma( msg ) won't stop... | |||
July 27, 2019 General » Re: My Little Dustmite: Bisect is Magic | |||
|---|---|---|---|
| |||
...if` combined with `pragma (msg, ...)` not be more appropriate than `static assert`? This can probably... | |||
July 26, 2019 Issues » [Issue 20082] Struct with extern destructor that's never called causes link error | |||
|---|---|---|---|
| |||
...void dummyDtor()
{
// dtor not linked in!
assert(false);
}
pragma(linkerDirective, "/ALTERNATENAME:" ~ S.__dtor.mangleof ~ "=" ~
dummyDtor... | |||
Copyright © 1999-2021 by the D Language Foundation