mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-20 07:42:11 +02:00
Fusion: adding overload for const parameter types
[SVN r59276]
This commit is contained in:
@ -57,6 +57,13 @@ namespace boost { namespace fusion
|
||||
{
|
||||
return x;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
typename boost::result_of<addconstref(T)>::type
|
||||
operator()(T const& x) const
|
||||
{
|
||||
return x;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user