Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / multi_index / detail / do_not_copy_elements_tag.hpp
1 /* Copyright 2003-2013 Joaquin M Lopez Munoz.
2  * Distributed under the Boost Software License, Version 1.0.
3  * (See accompanying file LICENSE_1_0.txt or copy at
4  * http://www.boost.org/LICENSE_1_0.txt)
5  *
6  * See http://www.boost.org/libs/multi_index for library home page.
7  */
8
9 #ifndef BOOST_MULTI_INDEX_DETAIL_DO_NOT_COPY_ELEMENTS_TAG_HPP
10 #define BOOST_MULTI_INDEX_DETAIL_DO_NOT_COPY_ELEMENTS_TAG_HPP
11
12 #if defined(_MSC_VER)
13 #pragma once
14 #endif
15
16 namespace boost{
17
18 namespace multi_index{
19
20 namespace detail{
21
22 /* Used to mark a special ctor variant that copies the internal objects of
23  * a container but not its elements.
24  */
25
26 struct do_not_copy_elements_tag{};
27
28 } /* namespace multi_index::detail */
29
30 } /* namespace multi_index */
31
32 } /* namespace boost */
33
34 #endif