fix doc example typo
[boost.git] / boost / ptr_container / detail / serialize_xml_names.hpp
blobd260198568bb19d3be04e5b823f1006aac2823a5
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/
12 #ifndef BOOST_PTR_CONTAINER_DETAIL_SERIALIZE_XML_NAMES
13 #define BOOST_PTR_CONTAINER_DETAIL_SERIALIZE_XML_NAMES
15 namespace boost
17 namespace ptr_container_detail
19 inline const char* count() { return "count"; }
20 inline const char* item() { return "item"; }
21 inline const char* first() { return "first"; }
22 inline const char* second() { return "second"; }
24 template<class T>
25 inline T const& serialize_as_const(T const& r)
27 return r;
31 #endif