
27 Jun
2011
27 Jun
'11
9:40 p.m.
On Mon, Jun 27, 2011 at 5:34 PM, Mathias Gaunard < mathias.gaunard@ens-lyon.org> wrote:
FYI, You can do STRING_TO_TYPE("MyType") or STRING_TO_TYPE(MyType) in C++0x by expanding it to "MyType"[0], "MyType"[1] etc.
IIRC you can do it even more directly with C++0x user-defined literals, though I don't think any compilers support them yet: "MyType"mpl_string -- -Matt Calabrese