annotate DEPENDENCIES/generic/include/boost/container/detail/value_init.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 //////////////////////////////////////////////////////////////////////////////
Chris@16 2 //
Chris@101 3 // (C) Copyright Ion Gaztanaga 2005-2013.
Chris@16 4 //
Chris@16 5 // Distributed under the Boost Software License, Version 1.0.
Chris@16 6 // (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 7 // http://www.boost.org/LICENSE_1_0.txt)
Chris@16 8 //
Chris@16 9 // See http://www.boost.org/libs/container for documentation.
Chris@16 10 //
Chris@16 11 //////////////////////////////////////////////////////////////////////////////
Chris@16 12
Chris@16 13 #ifndef BOOST_CONTAINER_DETAIL_VALUE_INIT_HPP
Chris@16 14 #define BOOST_CONTAINER_DETAIL_VALUE_INIT_HPP
Chris@16 15
Chris@101 16 #ifndef BOOST_CONFIG_HPP
Chris@101 17 # include <boost/config.hpp>
Chris@101 18 #endif
Chris@101 19
Chris@101 20 #if defined(BOOST_HAS_PRAGMA_ONCE)
Chris@16 21 # pragma once
Chris@16 22 #endif
Chris@16 23
Chris@101 24 #include <boost/container/detail/config_begin.hpp>
Chris@16 25 #include <boost/container/detail/workaround.hpp>
Chris@16 26
Chris@16 27 namespace boost {
Chris@16 28 namespace container {
Chris@16 29 namespace container_detail {
Chris@16 30
Chris@16 31 template<class T>
Chris@16 32 struct value_init
Chris@16 33 {
Chris@16 34 value_init()
Chris@16 35 : m_t()
Chris@16 36 {}
Chris@16 37
Chris@16 38 operator T &() { return m_t; }
Chris@16 39
Chris@16 40 T m_t;
Chris@16 41 };
Chris@16 42
Chris@16 43 } //namespace container_detail {
Chris@16 44 } //namespace container {
Chris@16 45 } //namespace boost {
Chris@16 46
Chris@16 47 #include <boost/container/detail/config_end.hpp>
Chris@16 48
Chris@16 49 #endif //#ifndef BOOST_CONTAINER_DETAIL_VALUE_INIT_HPP