May 13, 2012 Learn » How do I do printf/writefln debugging in CTFE? | |||
|---|---|---|---|
| |||
...possible to do something like this:
void ctfeFunc(string arg)
{
pragma(msg, "arg is "~arg... | |||
May 04, 2012 General » Re: Return by 'ref' problems... | |||
|---|---|---|---|
| |||
...should *never* print shit like this, we got...used at compile time: pragma(msg, typeof(fp... | |||
April 30, 2012 Learn » Re: Help: running a method from the importing file's method "space" | |||
|---|---|---|---|
| |||
...windows.windows; import MyLib; pragma(lib, "MyLib.lib...the parameters to MyLib like I showed before... | |||
April 26, 2012 Issues » [Issue 3960] Unused local variables not reported | |||
|---|---|---|---|
| |||
...to that problem, Steven Schveighoffer suggests something like: pragma(used) int x; Or: @used int... | |||
April 26, 2012 General » Re: Cross module version specs | |||
|---|---|---|---|
| |||
...I sought out something like D. The fact...import module1; import module2; pragma(msg, typeof(x... | |||
April 21, 2012 General » Re: Docs: Section on local variables | |||
|---|---|---|---|
| |||
...write shit like this: #pragma(push) #pragma warning(disable: 4701) int x; #pragma(pop) Or... | |||
April 20, 2012 Issues » [Issue 7947] typeof on anonymous function literal returns void | |||
|---|---|---|---|
| |||
...pragma(msg, typeof(tem)); should show something useful when tem is a template function (like... | |||
April 10, 2012 General » Re: Producing nicer template errors in D libraries | |||
|---|---|---|---|
| |||
[...] I like this idea too. In fact, it...compiles? I assume the pragma will run even... | |||
April 10, 2012 General » Re: Producing nicer template errors in D libraries | |||
|---|---|---|---|
| |||
...i have template constraints like this one:
ulong...bool _ttmm(T, E)() {
pragma(msg, "\nExpected: '" ~ E... | |||
April 09, 2012 Learn » Re: Input from a newbie | |||
|---|---|---|---|
| |||
...at all, or something
like this wrapper should...typeof(arg):const(char)[])) {
pragma(msg, F ~ ":" ~ L... | |||
Copyright © 1999-2021 by the D Language Foundation