forked from boostorg/fusion
fixed non-ascii chars
[SVN r47676]
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
/*=============================================================================
|
||||
Copyright (c) 2005-2006 João Abecasis
|
||||
Copyright (c) 2005-2006 Joao Abecasis
|
||||
Copyright (c) 2006-2007 Tobias Schwinger
|
||||
|
||||
Use modification and distribution are subject to the Boost Software
|
||||
|
||||
Use modification and distribution are subject to 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).
|
||||
==============================================================================*/
|
||||
@ -51,14 +51,14 @@ namespace boost { namespace fusion
|
||||
|
||||
namespace detail
|
||||
{
|
||||
template<
|
||||
class Function, class Sequence,
|
||||
template<
|
||||
class Function, class Sequence,
|
||||
int N = result_of::size<Sequence>::value,
|
||||
bool RandomAccess = traits::is_random_access<Sequence>::value
|
||||
bool RandomAccess = traits::is_random_access<Sequence>::value
|
||||
>
|
||||
struct invoke_function_object_impl;
|
||||
|
||||
template <class Sequence, int N>
|
||||
template <class Sequence, int N>
|
||||
struct invoke_function_object_param_types;
|
||||
|
||||
#define BOOST_PP_FILENAME_1 \
|
||||
@ -72,10 +72,10 @@ namespace boost { namespace fusion
|
||||
{
|
||||
template <class Function, class Sequence> struct invoke_function_object
|
||||
{
|
||||
typedef typename detail::invoke_function_object_impl<
|
||||
typedef typename detail::invoke_function_object_impl<
|
||||
typename boost::remove_reference<Function>::type, Sequence
|
||||
>::result_type type;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
template <class Function, class Sequence>
|
||||
@ -114,7 +114,7 @@ namespace boost { namespace fusion
|
||||
|
||||
typedef typename boost::result_of<
|
||||
#define M(z,j,data) \
|
||||
typename result_of::at_c<Sequence,j>::type
|
||||
typename result_of::at_c<Sequence,j>::type
|
||||
Function (BOOST_PP_ENUM(N,M,~)) >::type result_type;
|
||||
#undef M
|
||||
|
||||
@ -154,7 +154,7 @@ namespace boost { namespace fusion
|
||||
}
|
||||
};
|
||||
|
||||
template <class Sequence>
|
||||
template <class Sequence>
|
||||
struct invoke_function_object_param_types<Sequence,N>
|
||||
{
|
||||
#if N > 0
|
||||
@ -173,5 +173,5 @@ namespace boost { namespace fusion
|
||||
|
||||
#undef N
|
||||
#endif // defined(BOOST_PP_IS_ITERATING)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user