I tried this:
TypeInfo ti = typeid(int); Variant v = ti.initializer; But after, int o = v.get!int; and int o = v.coerce!int; doesn't work.
RedCAT via Digitalmars-d-learn Sat, 15 Jul 2017 09:31:07 -0700
I tried this:
TypeInfo ti = typeid(int); Variant v = ti.initializer; But after, int o = v.get!int; and int o = v.coerce!int; doesn't work.