Added missing typename
Fixed problem for reseting std::stringstream with MSVC 2012
Fixed incorrect DLL export macros
Fixed signed/unsigned comparison warnings.
Fixed problem for uninitialized memory under 32 bits environment.
Fixed signed/unsigned comparison warnings.
Fixed a memory leak for generated copy constructors.