digitalmars.D.learn - Tuples & const values
- bearophile (10/10) May 31 2011 Currently this doesn't work, but I'd like to do this:
Currently this doesn't work, but I'd like to do this: import std.typecons; void main() { const int x = 1; const int y = 2; auto t = tuple(x, y); } Is it possible to modify the tuples to allow this? Bye, bearophile
May 31 2011