[odb-users] std::atomic<double> cause me trouble.

Boris Kolpackov boris at codesynthesis.com
Wed Aug 12 10:42:44 EDT 2020


Xavier Monset <xavier.monset at gmail.com> writes:

> So I tried to to define the odb::wrapper_traits specialization for
> std::atomic in file wrapper-traits.hxx.
> I did it this by adding :
> 
> [...]
> 
> But, now, I'm getting error. I have this complain : "
> /usr/local/include/odb/wrapper-traits.hxx:277:30*: error: ‘atomic’ is not a
> member of ‘std*’"

It's hard to say for sure without looking at the entire file, but
my first guess would be a missing `#include <atomic>`.



More information about the odb-users mailing list