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

Xavier Monset xavier.monset at gmail.com
Thu Aug 13 02:57:04 EDT 2020


Hi Boris,

It was more shameful : I just had --std c++11 on the odb command.
Sorry for the noise.
Xavier.


Le mer. 12 août 2020 à 16:42, Boris Kolpackov <boris at codesynthesis.com> a
écrit :

> 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