[odb-users] unable to map C++ type '::std::chrono::duration< double
>'
Monika Idzik
moni.idzik at gmail.com
Wed Sep 11 20:06:20 EDT 2019
Dear odb Users,
I'm getting an error:
error: unable to map C++ type '::std::chrono::duration< double >' used in
data member 'test_chrono' to a MySQL database type
when trying to declare the variable of type std::chrono::duration<double>.
I know I could use boost::posix_time::time_duration with boost profile, but
I want to be able to add also std::chrono variables. Is there a way to do
this?
Thank you,
Monika
More information about the odb-users
mailing list