[Issue 16175] allow statements and declaration in a compiles block

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 15 05:16:12 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16175

--- Comment #1 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
actually, most of the time you can do that with this:

__traits(compiles,{int* cMutable = &c;})

just use lambda syntax -- we have many of 'em in D. ;-)

--


More information about the Digitalmars-d-bugs mailing list