On 2015-09-06 21:32, Prudence wrote:
template X(Y) { string X = Y.stringof; }auto s = X({int 3;}) Of course, doesn't work!!
You might be interested in this [1]. [1] http://wiki.dlang.org/DIP50 -- /Jacob Carlborg
Jacob Carlborg via Digitalmars-d Mon, 07 Sep 2015 06:46:51 -0700
On 2015-09-06 21:32, Prudence wrote:
template X(Y) { string X = Y.stringof; }auto s = X({int 3;}) Of course, doesn't work!!
You might be interested in this [1]. [1] http://wiki.dlang.org/DIP50 -- /Jacob Carlborg