[odb-users] Fwd: Re: ODB and C++11 Chrono
boris at codesynthesis.com
Sat Feb 7 09:11:48 EST 2015
Alex Beimler <alex-beimler at web.de> writes:
> First thanks for odb its a great Lib for lightweight Webapps (in
> compilation with cppcms).
Thanks, I am glad you like it!
> But i have a Question, is there a traits type support for
> std::chrono::duration,time_point,... by default or in the future
Not yet, but I agree they are needed.
> Are your planning other traits type by default, maybe std::deque,
I've managed to sneak std::deque in for the upcoming release.
Yes, that's supported. See the Boost profile (Chapter 23 in the
I've found the trickiest part with implementing the Boost date-time
support is figuring out which database types to map to and how to
convert to/from the corresponding image types. So, hopefully, we
will be able to use the code from the Boost (and Qt) profiles as
a guide/reference to implement std::chrono.
> Greate talk at cppcon, thanks for that.
It was 3am "my time" and I was quite jetlagged... Still afraid to
go watch that video... ;-)
More information about the odb-users