Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:50:35

0001 //
0002 // Boost.Pointer Container
0003 //
0004 //  Copyright Thorsten Ottosen 2003-2007. Use, modification and
0005 //  distribution is subject to the Boost Software License, Version
0006 //  1.0. (See accompanying file LICENSE_1_0.txt or copy at
0007 //  http://www.boost.org/LICENSE_1_0.txt)
0008 //
0009 // For more information, see http://www.boost.org/libs/ptr_container/
0010 //
0011 
0012 #ifndef BOOST_PTR_CONTAINER_DETAIL_SERIALIZE_XML_NAMES
0013 #define BOOST_PTR_CONTAINER_DETAIL_SERIALIZE_XML_NAMES
0014 
0015 namespace boost
0016 {
0017     namespace ptr_container_detail
0018     {
0019         inline const char* count()  { return "count"; }
0020         inline const char* item()   { return "item"; }
0021         inline const char* first()  { return "first"; }
0022         inline const char* second() { return "second"; }
0023 
0024         template<class T>
0025         inline T const& serialize_as_const(T const& r)
0026         {
0027             return r;
0028         }
0029     }
0030 }
0031 #endif
0032