|
Boost Users : |
Subject: Re: [Boost-users] strong_typedef
From: Robert Ramey (ramey_at_[hidden])
Date: 2011-07-14 16:25:39
Dmitry Vinogradov wrote:
> Hi everyone.
> Is <boost/strong_typedef.hpp> obsolete?
>
> Compiling this code:
> // -- cut ---
> #include <boost/strong_typedef.hpp>
> #include <boost/archive/binary_oarchive.hpp>
> // -- cut ---
>
> gives:
> 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?
yes
Robert Ramey
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