forked from boostorg/fusion
Fusion: adding overload for const parameter types
[SVN r59276]
This commit is contained in:
1 parent
f7fd836354
commit
dae19f1781
1 file changed
+7
@@ -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