[odb-users] How to use wstring instead of string?

Justlive duhai_lee at qq.com
Tue Aug 28 03:04:22 EDT 2012

Hi there,
    in my .h file, I define a class member of type is std::wstring. 
   then generate code, it show errors: 
error: unable to map C++ type '::std::wstring' used in data member 'Report_Id' to a database type
   how can I do ?
   thx very much.

More information about the odb-users mailing list