Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] compile-time detection of whether serialization is implemented for a class
From: Robert Ramey (ramey_at_[hidden])
Date: 2012-02-16 17:15:50

I would look into something like:

#include <boost/serialization/level.hpp>

my_type x;


or some variation of there of such as:

#include <boost/serialization/level.hpp>

namespace boost {
namespace serialization {

template<class T>
struct is_serializable {
    typedef typename

Robert Ramey

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at