Search

May 13, 2012
Learn »
...possible to do something like this:


void ctfeFunc(string arg)
{
	pragma(msg, "arg is "~arg...
May 04, 2012
General »
...should *never* print shit like this, we got...used at compile time:

pragma(msg, typeof(fp...
April 30, 2012
Learn »
...windows.windows;
import MyLib;

pragma(lib, "MyLib.lib...the parameters to MyLib like I showed before...
April 26, 2012
Issues »
...to that problem, Steven Schveighoffer suggests something like:

pragma(used) int x;

Or:
@used int...
April 26, 2012
General »
...I sought out something like D.  The fact...import module1;
import module2;

pragma(msg, typeof(x...
April 21, 2012
General »
...write shit like this:

#pragma(push)
#pragma warning(disable: 4701)
int x;
#pragma(pop)

Or...
April 20, 2012
Issues »
...pragma(msg, typeof(tem)); should show something useful when tem is a template
function (like...
April 10, 2012
General »
[...]

I like this idea too. In fact, it...compiles? I assume the pragma will run even...
April 10, 2012
General »
...i have template constraints like this one:

   ulong...bool _ttmm(T, E)() {
      pragma(msg, "\nExpected: '" ~ E...
April 09, 2012
Learn »
...at all, or something
like this wrapper should...typeof(arg):const(char)[])) {
         pragma(msg, F ~ ":" ~ L...
116 117 118 119 120 121 122 123 124 125 126
Next ›   Last »