Index: iserializer.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/archive/detail/iserializer.hpp,v retrieving revision 1.32 diff -b -d -u -b -u -r1.32 iserializer.hpp --- iserializer.hpp 4 May 2006 04:58:36 -0000 1.32 +++ iserializer.hpp 22 May 2006 13:33:08 -0000 @@ -549,7 +549,7 @@ // BORLAND #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x560)) -// borland has a couple fo problems +// borland has a couple of problems // a) if function is partiall specialized - see below // const paramters are transformed to non-const ones // b) implementation of base_object can't be made to work @@ -569,11 +569,13 @@ boost::archive::load(ar, const_cast(t)); } +#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x560)) template inline void load(Archive &ar, const T&t){ load_wrapper(ar,t,serialization::is_wrapper()); } #endif +#endif } // namespace archive } // namespace boost