add support for tagged lambda invocations
[SVN r19417]
This commit is contained in:
1 parent
8065e071f7
commit
5a060a51ce
29 files changed
+1685
-929
No files matched your search
@@ -1,9 +1,11 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// boost mpl/labmda_fwd.hpp header file
|
||||
// See http://www.boost.org for updates, documentation, and revision history.
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright (c) 2001-02
|
||||
|
||||
#ifndef BOOST_MPL_LAMBDA_FWD_HPP_INCLUDED
|
||||
#define BOOST_MPL_LAMBDA_FWD_HPP_INCLUDED
|
||||
|
||||
// + file: boost/mpl/labmda_fwd.hpp
|
||||
// + last modified: 02/aug/03
|
||||
|
||||
// Copyright (c) 2001-03
|
||||
// Aleksey Gurtovoy
|
||||
//
|
||||
// Permission to use, copy, modify, distribute and sell this software
|
||||
@@ -13,9 +15,8 @@
|
||||
// supporting documentation. No representations are made about the
|
||||
// suitability of this software for any purpose. It is provided "as is"
|
||||
// without express or implied warranty.
|
||||
|
||||
#ifndef BOOST_MPL_LAMBDA_FWD_HPP_INCLUDED
|
||||
#define BOOST_MPL_LAMBDA_FWD_HPP_INCLUDED
|
||||
//
|
||||
// See http://www.boost.org/libs/mpl for documentation.
|
||||
|
||||
#include "boost/mpl/aux_/lambda_arity_param.hpp"
|
||||
#include "boost/mpl/aux_/config/lambda.hpp"
|
||||
@@ -24,10 +25,23 @@ namespace boost {
|
||||
namespace mpl {
|
||||
|
||||
#if !defined(BOOST_MPL_NO_FULL_LAMBDA_SUPPORT)
|
||||
template< typename T BOOST_MPL_AUX_LAMBDA_ARITY_PARAM(typename Arity) >
|
||||
|
||||
template<
|
||||
typename T
|
||||
, typename Tag
|
||||
BOOST_MPL_AUX_LAMBDA_ARITY_PARAM(typename Arity)
|
||||
>
|
||||
struct lambda;
|
||||
|
||||
#else
|
||||
template< typename T, bool Protect > struct lambda;
|
||||
|
||||
template<
|
||||
typename T
|
||||
, typename Tag
|
||||
, bool Protect
|
||||
>
|
||||
struct lambda;
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace mpl
|
||||
|
||||
Reference in new issue
Block a user