do_not_copy_elements_tag.hpp 762 B

12345678910111213141516171819202122232425262728293031323334
  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. #ifndef BOOST_MULTI_INDEX_DETAIL_DO_NOT_COPY_ELEMENTS_TAG_HPP
  9. #define BOOST_MULTI_INDEX_DETAIL_DO_NOT_COPY_ELEMENTS_TAG_HPP
  10. #if defined(_MSC_VER)
  11. #pragma once
  12. #endif
  13. namespace boost{
  14. namespace multi_index{
  15. namespace detail{
  16. /* Used to mark a special ctor variant that copies the internal objects of
  17. * a container but not its elements.
  18. */
  19. struct do_not_copy_elements_tag{};
  20. } /* namespace multi_index::detail */
  21. } /* namespace multi_index */
  22. } /* namespace boost */
  23. #endif