On Thu, 31 May 2012 18:42:20 +0200, bearophile <[email protected]> wrote:

simendsjo:

int a;
string b;
ToTuple!(a, b) should create Tuple!(int, "a", string, "b")

template ToTuple(Variables...) {
  ?
}

ToTuple will have a hard time inventing the names for those
fields...

Bye,
bearophile


Not sure I understand what you mean. Using Variables[i].stringof in a template gives the original name.

Reply via email to