Ticket #3977: nvp_const_ref_ptr_special.patch
File nvp_const_ref_ptr_special.patch, 637 bytes (added by , 13 years ago) |
---|
-
boost/serialization/nvp.hpp
98 98 return nvp<T>(name, t); 99 99 } 100 100 101 template<class T> 102 inline 103 #ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING 104 const 105 #endif 106 nvp<T * const> make_nvp(const char * name, T * const & t){ 107 return nvp<T * const>(name, t); 108 } 109 101 110 // to maintain efficiency and portability, we want to assign 102 111 // specific serialization traits to all instances of this wrappers. 103 112 // we can't strait forward method below as it depends upon