Search

September 11, 2017
General »
...remember that you do already have static assert, pragma(msg, ...), and __traits(compiles, ...) to work...
August 03, 2017
Issues »
...int* bar; }
pragma(msg, is(shared S : S)); /* "true" - wrong */
void f()
{
    pragma(msg, is...
August 03, 2017
Issues »
...S))
{
    static assert(false); /* is triggered */
}
----

The `static assert` is correct.
The `pragma(msg, ...);` should...
July 28, 2017
General »
...would return strange values.
pragma(msg, swap(0xABCD...tmp5, BCValue(Imm32(63)));
            Assert(tmp3, Imm32(1...
July 26, 2017
General »
Hm.. so you mean:

pragma(mangle, "fgetc")
private...trusted
{
  if(stream == null) assert(0);
  return real...
July 14, 2017
General »
...class Penguin : Bird { override void fly() @pragma(noreturn) { assert(0); }  };
class EvolvedPenguin : Penguin { override void...
July 09, 2017
Issues »
...Issue ID: 17627
           Summary: assert output in ctfe...no other possibility as pragma(msg, ...) and writeln...
July 08, 2017
Learn »
...Pany wrote:

> I use assert(false, tmp) to...more natural way is pragma(msg), which you...
July 08, 2017
General »
...a pragma to do it:

    void ThisFunctionExits();
    #pragma...up in things like assert's and enforce...
July 06, 2017
Learn »
...import core.stdc.stdio;

//pragma(lib, "portaudio_x86...a) == T))
				return a;
		}
		assert(0, "attribute " ~ T...
23 24 25 26 27 28 29 30 31 32 33 34
Next ›   Last »