July 26, 2012 General » Re: Can you do this in D? | |||
|---|---|---|---|
| |||
...like:
foreach(field;__traits(allFields, myClass)) { str ~= field; }
Assuming this is the same as #pragma... | |||
July 26, 2012 Learn » Re: Simple D Questions (static if / #pragma / int[3][3]) | |||
|---|---|---|---|
| |||
...first syntax is more like C#, not D...to append new items). pragma(msg, "...") is for... | |||
July 26, 2012 Issues » [Issue 3449] const and invariant struct members do not behave according to spec | |||
|---|---|---|---|
| |||
...warnings inside a pragma. But I think I heard Walter doesn't like that. Nevertheless... | |||
July 23, 2012 General » Re: Troubles with immutable arrays | |||
|---|---|---|---|
| |||
...claim.
I don't like the cross-talk...Foo1 { const int bar; }
pragma(msg, Foo1.sizeof... | |||
July 22, 2012 General » Re: Preview LLVM Deimos bindings | |||
|---|---|---|---|
| |||
Looks like 3.1 https://github.com/jkm/deimos-llvm | |||
June 29, 2012 Learn » Waiting for Godot | |||
|---|---|---|---|
| |||
...like Lemmings.... I followed D now for 5.5 years and all I'd like... | |||
June 18, 2012 Issues » [Issue 8261] New: std.traits.ParameterTypeTuple may break existing codes | |||
|---|---|---|---|
| |||
...name, int[int] map){}
pragma(msg, ParameterTypeTuple!foo...implementation of ParameterTypeTuple template like follows:
template ParameterTypeTuple... | |||
June 12, 2012 General » AST files instead of DI interface files for faster compilation and easier distribution | |||
|---|---|---|---|
| |||
...pull/945); I'd like to suggest further...if main.d contains pragma(framework,"mylib") and... | |||
June 11, 2012 Issues » [Issue 8218] New: shared library segmentation fault when missing un-needed import | |||
|---|---|---|---|
| |||
...19 PDT --- That sounds like a bug: dmd...d: import std.stdio; pragma(lib,"fun"); void... | |||
June 08, 2012 General » Re: valid uses of shared | |||
|---|---|---|---|
| |||
...at the changelog, looks like there were some...auto x = s.i;
pragma(msg, typeof(x... | |||
Copyright © 1999-2021 by the D Language Foundation