Add boost::optional
This commit is contained in:
25
boost/mpl/size_t.hpp
Normal file
25
boost/mpl/size_t.hpp
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
#ifndef BOOST_MPL_SIZE_T_HPP_INCLUDED
|
||||
#define BOOST_MPL_SIZE_T_HPP_INCLUDED
|
||||
|
||||
// Copyright Aleksey Gurtovoy 2000-2004
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// See http://www.boost.org/libs/mpl for documentation.
|
||||
|
||||
// $Id$
|
||||
// $Date$
|
||||
// $Revision$
|
||||
|
||||
#include <boost/mpl/size_t_fwd.hpp>
|
||||
|
||||
#define AUX_WRAPPER_VALUE_TYPE std::size_t
|
||||
#define AUX_WRAPPER_NAME size_t
|
||||
#define AUX_WRAPPER_PARAMS(N) std::size_t N
|
||||
|
||||
#include <boost/mpl/aux_/integral_wrapper.hpp>
|
||||
|
||||
#endif // BOOST_MPL_SIZE_T_HPP_INCLUDED
|
28
boost/mpl/size_t_fwd.hpp
Normal file
28
boost/mpl/size_t_fwd.hpp
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
#ifndef BOOST_MPL_SIZE_T_FWD_HPP_INCLUDED
|
||||
#define BOOST_MPL_SIZE_T_FWD_HPP_INCLUDED
|
||||
|
||||
// Copyright Aleksey Gurtovoy 2000-2004
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// See http://www.boost.org/libs/mpl for documentation.
|
||||
|
||||
// $Id$
|
||||
// $Date$
|
||||
// $Revision$
|
||||
|
||||
#include <boost/mpl/aux_/adl_barrier.hpp>
|
||||
#include <boost/config.hpp> // make sure 'size_t' is placed into 'std'
|
||||
#include <cstddef>
|
||||
|
||||
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
|
||||
|
||||
template< std::size_t N > struct size_t;
|
||||
|
||||
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE
|
||||
BOOST_MPL_AUX_ADL_BARRIER_DECL(size_t)
|
||||
|
||||
#endif // BOOST_MPL_SIZE_T_FWD_HPP_INCLUDED
|
Reference in New Issue
Block a user