PageRenderTime 17ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
13#ifndef BOOST_CONTAINERS_DETAIL_VALUE_INIT_HPP
14#define BOOST_CONTAINERS_DETAIL_VALUE_INIT_HPP
15
16#if (defined _MSC_VER) && (_MSC_VER >= 1200)
17#  pragma once
18#endif
19
20#include "config_begin.hpp"
21#include INCLUDE_BOOST_CONTAINER_DETAIL_WORKAROUND_HPP
22
23namespace boost {
24namespace container { 
25namespace containers_detail {
26
27template<class T>
28struct value_init
29{
30   value_init()
31      : m_t()
32   {}
33
34   T m_t;
35};
36
37}  //namespace containers_detail { 
38}  //namespace container { 
39}  //namespace boost {
40
41#include INCLUDE_BOOST_CONTAINER_DETAIL_CONFIG_END_HPP
42
43#endif   //#ifndef BOOST_CONTAINERS_DETAIL_VALUE_INIT_HPP