|
Boost Users : |
Subject: Re: [Boost-users] [serialization] of nested stl containers
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-03-26 23:33:18
AMDG
On 03/26/2014 11:44 AM, Pablo Madoery wrote:
> I have the following code:
>
> <snip>
> #include <boost/archive/text_oarchive.hpp>
> #include <boost/archive/text_iarchive.hpp>
> #include <boost/serialization/access.hpp>
> #include <boost/serialization/string.hpp>
> #include <boost/serialization/vector.hpp>
> #include <boost/serialization/utility.hpp>
> #include <boost/serialization/map.hpp>
> #include <boost/serialization/base_object.hpp>
>
> <snip>
>
> that throw the following compilation error:
> error: 'class std::list<std::pair<std::basic_string<char>,
> std::basic_string<char> > >' has no member named 'serialize'.
>
I'd guess that you need a
#include <boost/serialization/list.hpp>
In Christ,
Steven Watanabe
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net