Macro for boost version identification

27 Dec
2007
27 Dec
'07
11:24 a.m.
Hi, Shouldn't boost create a macro that identifies which version of boost is being included? I need to write code like this: #if BOOST_VERSION >= 35 #include <boost/ptr_container/serialize_ptr_list.hpp> #else #include <workaround-for-ptr_list-serialization> #endif Regards, -- Felipe Magno de Almeida

11:28 a.m.
On Dec 27, 2007 9:26 AM, Jurko Gospodnetić <jurko.gospodnetic@docte.hr> wrote:
Hi Felipe.
Shouldn't boost create a macro that identifies which version of boost is being included?
Does the one in boost/version.hpp help?
D'oh! Thanks!
Best regards, Jurko Gospodnetić
Regards, -- Felipe Magno de Almeida
6378
Age (days ago)
6378
Last active (days ago)
2 comments
2 participants
participants (2)
-
Felipe Magno de Almeida
-
Jurko Gospodnetić