1 // 2 // Boost.Pointer Container 3 // 4 // Copyright Thorsten Ottosen 2003-2007. Use, modification and 5 // distribution is subject to the Boost Software License, Version 6 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 7 // http://www.boost.org/LICENSE_1_0.txt) 8 // 9 // For more information, see http://www.boost.org/libs/ptr_container/ 10 // 11 12 #ifndef BOOST_PTR_CONTAINER_DETAIL_SERIALIZE_XML_NAMES 13 #define BOOST_PTR_CONTAINER_DETAIL_SERIALIZE_XML_NAMES 14 15 namespace boost 16 { 17 namespace ptr_container_detail 18 { count()19 inline const char* count() { return "count"; } item()20 inline const char* item() { return "item"; } first()21 inline const char* first() { return "first"; } second()22 inline const char* second() { return "second"; } 23 24 template<class T> serialize_as_const(T const & r)25 inline T const& serialize_as_const(T const& r) 26 { 27 return r; 28 } 29 } 30 } 31 #endif 32 33