Template specialization of getValue should now be standards compliant and work in other compilers besides MSVC. Work in progress of implementation.