ADDED: A more VS2013-CPP friendly generator.  Not exactly C++11 in it's entirety, but generates code that compiles nicely in VS2013.
CHANGED: 'NAN' to std::numeric_limits<type>::quietNaN(); changed include to <cmath> instead of <math.h>.
REMOVED: unnecessary 'd' after double literals.
UPDATED: code generator to recognize new cpp11 language.