Boost logo

Boost Users :

Subject: [Boost-users] strong_typedef
From: Dmitry Vinogradov (sraider_at_[hidden])
Date: 2011-07-14 14:24:51

Hi everyone.
Is <boost/strong_typedef.hpp> obsolete?

Compiling this code:
// -- cut ---
#include <boost/strong_typedef.hpp>
#include <boost/archive/binary_oarchive.hpp>
// -- cut ---

1>E:\Libraries\boost\boost/serialization/strong_typedef.hpp(45): warning
C4005: 'BOOST_STRONG_TYPEDEF' : macro redefinition
1> E:\Libraries\boost\boost/strong_typedef.hpp(45) : see
previous definition of 'BOOST_STRONG_TYPEDEF'

Does one need to use <boost/serialization/strong_typedef.hpp> instead?

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