]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/ptr_container/include/boost/ptr_container/detail/serialize_xml_names.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / ptr_container / include / boost / ptr_container / detail / serialize_xml_names.hpp
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 {
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"; }
23
24 template<class T>
25 inline T const& serialize_as_const(T const& r)
26 {
27 return r;
28 }
29 }
30 }
31 #endif
32