diff options
Diffstat (limited to 'boost/serialization/vector.hpp')
-rw-r--r-- | boost/serialization/vector.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/boost/serialization/vector.hpp b/boost/serialization/vector.hpp index 0fde185a08..7520c09a00 100644 --- a/boost/serialization/vector.hpp +++ b/boost/serialization/vector.hpp @@ -35,6 +35,14 @@ #define BOOST_SERIALIZATION_VECTOR_VERSIONED(V) (V==4 || V==5) #endif +// function specializations must be defined in the appropriate +// namespace - boost::serialization +#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION) +#define STD _STLP_STD +#else +#define STD std +#endif + namespace boost { namespace serialization { @@ -207,5 +215,6 @@ inline void serialize( #include <boost/serialization/collection_traits.hpp> BOOST_SERIALIZATION_COLLECTION_TRAITS(std::vector) +#undef STD #endif // BOOST_SERIALIZATION_VECTOR_HPP |