Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does boost support serialization of c++11's std::tuple?

Does boost support serialization of c++11's std::tuple?

I couldn't find a tuple.hpp header file at /boost/serialization/

I'm using boost 1.52.0 (happy to upgrade if need be, but it seems like the changes in version 1.53 doesn't have anything related to this).

like image 934
Ammar Avatar asked Feb 07 '13 05:02

Ammar


1 Answers

Out of the box, no. You'll have to write the serializer yourself. Luckily, someone already did:

C++0x tuple boost serialization (also in github)

like image 85
eladidan Avatar answered Sep 21 '22 21:09

eladidan