fix doc example typo
[boost.git] / boost / interprocess / containers / container / detail / value_init.hpp
blob491837933e0a91d7463601796e146fe85ebfc0aa
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.
11 //////////////////////////////////////////////////////////////////////////////
13 #ifndef BOOST_CONTAINERS_DETAIL_VALUE_INIT_HPP
14 #define BOOST_CONTAINERS_DETAIL_VALUE_INIT_HPP
16 #if (defined _MSC_VER) && (_MSC_VER >= 1200)
17 # pragma once
18 #endif
20 #include <boost/interprocess/containers/container/detail/config_begin.hpp>
21 #include <boost/interprocess/containers/container/detail/workaround.hpp>
23 namespace boost {
24 namespace interprocess_container {
25 namespace containers_detail {
27 template<class T>
28 struct value_init
30 value_init()
31 : m_t()
34 T m_t;
37 } //namespace containers_detail {
38 } //namespace interprocess_container {
39 } //namespace boost {
41 #include <boost/interprocess/containers/container/detail/config_end.hpp>
43 #endif //#ifndef BOOST_CONTAINERS_DETAIL_VALUE_INIT_HPP