/Src/Dependencies/Boost/boost/interprocess/containers/container/detail/value_init.hpp

http://hadesmem.googlecode.com/ · C++ Header · 43 lines · 23 code · 9 blank · 11 comment · 1 complexity · 7ed044c3fc2a95c87a04b905d9243404 MD5 · raw file

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // (C) Copyright Ion Gaztanaga 2005-2009.
  4. //
  5. // Distributed under the Boost Software License, Version 1.0.
  6. // (See accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. //
  9. // See http://www.boost.org/libs/container for documentation.
  10. //
  11. //////////////////////////////////////////////////////////////////////////////
  12. #ifndef BOOST_CONTAINERS_DETAIL_VALUE_INIT_HPP
  13. #define BOOST_CONTAINERS_DETAIL_VALUE_INIT_HPP
  14. #if (defined _MSC_VER) && (_MSC_VER >= 1200)
  15. # pragma once
  16. #endif
  17. #include "config_begin.hpp"
  18. #include INCLUDE_BOOST_CONTAINER_DETAIL_WORKAROUND_HPP
  19. namespace boost {
  20. namespace container {
  21. namespace containers_detail {
  22. template<class T>
  23. struct value_init
  24. {
  25. value_init()
  26. : m_t()
  27. {}
  28. T m_t;
  29. };
  30. } //namespace containers_detail {
  31. } //namespace container {
  32. } //namespace boost {
  33. #include INCLUDE_BOOST_CONTAINER_DETAIL_CONFIG_END_HPP
  34. #endif //#ifndef BOOST_CONTAINERS_DETAIL_VALUE_INIT_HPP