diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-12-23 13:16:26 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-12-23 14:43:26 (GMT) |
commit | 491ddd570a752cf9bda85933bed0c6942e39b1f9 (patch) | |
tree | 10c25c1be8cc08d0497df1dccd56a10fbb30beee /3rdParty/Boost/src/boost/lambda/core.hpp | |
parent | da7d7a0ca71b80281aa9ff2526290b61ccb0cc60 (diff) | |
download | swift-contrib-491ddd570a752cf9bda85933bed0c6942e39b1f9.zip swift-contrib-491ddd570a752cf9bda85933bed0c6942e39b1f9.tar.bz2 |
Update Boost to 1.52.0.
Change-Id: I1e56bea2600bf2ed9c5b3aba8c4f9d2a0f350e77
Diffstat (limited to '3rdParty/Boost/src/boost/lambda/core.hpp')
-rw-r--r-- | 3rdParty/Boost/src/boost/lambda/core.hpp | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/3rdParty/Boost/src/boost/lambda/core.hpp b/3rdParty/Boost/src/boost/lambda/core.hpp new file mode 100644 index 0000000..e42766f --- /dev/null +++ b/3rdParty/Boost/src/boost/lambda/core.hpp @@ -0,0 +1,79 @@ +// -- core.hpp -- Boost Lambda Library ------------------------------------- +// +// Copyright (C) 2000 Gary Powell (powellg@amazon.com) +// Copyright (C) 1999, 2000 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi) +// +// 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) +// +// For more information, see www.boost.org +// +// Includes the core of LL, without any real features for client: +// +// tuples, lambda functors, return type deduction templates, +// argument substitution mechanism (select functions) +// +// Some functionality comes as well: +// Assignment and subscript operators, as well as function +// call operator for placeholder variables. +// ------------------------------------------------------------------------- + +#ifndef BOOST_LAMBDA_CORE_HPP +#define BOOST_LAMBDA_CORE_HPP + +#include "boost/type_traits/transform_traits.hpp" +#include "boost/type_traits/cv_traits.hpp" + +#include "boost/tuple/tuple.hpp" + +// inject some of the tuple names into lambda +namespace boost { +namespace lambda { + +using ::boost::tuples::tuple; +using ::boost::tuples::null_type; + +} // lambda +} // boost + +#include "boost/lambda/detail/lambda_config.hpp" +#include "boost/lambda/detail/lambda_fwd.hpp" + +#include "boost/lambda/detail/arity_code.hpp" +#include "boost/lambda/detail/actions.hpp" + +#include "boost/lambda/detail/lambda_traits.hpp" + +#include "boost/lambda/detail/function_adaptors.hpp" +#include "boost/lambda/detail/return_type_traits.hpp" + +#include "boost/lambda/detail/select_functions.hpp" + +#include "boost/lambda/detail/lambda_functor_base.hpp" + +#include "boost/lambda/detail/lambda_functors.hpp" + +#include "boost/lambda/detail/ret.hpp" + +namespace boost { +namespace lambda { + +namespace { + + // These are constants types and need to be initialised + boost::lambda::placeholder1_type free1 = boost::lambda::placeholder1_type(); + boost::lambda::placeholder2_type free2 = boost::lambda::placeholder2_type(); + boost::lambda::placeholder3_type free3 = boost::lambda::placeholder3_type(); + + boost::lambda::placeholder1_type& _1 = free1; + boost::lambda::placeholder2_type& _2 = free2; + boost::lambda::placeholder3_type& _3 = free3; + // _1, _2, ... naming scheme by Peter Dimov +} // unnamed + +} // lambda +} // boost + + +#endif //BOOST_LAMBDA_CORE_HPP |