function call is also working now!

This commit is contained in:
Sébastien Loriot 2022-06-04 19:12:54 +02:00
parent db2c202f35
commit 046f1db10a
1 changed files with 8 additions and 0 deletions

View File

@ -317,6 +317,14 @@ inline no_parameters(Named_function_parameters<T,Tag,Base>)
template <class Tag>
struct Boost_parameter_compatibility_wrapper
{
template <typename K>
Named_function_parameters<K, Tag>
operator()(const K& p) const
{
typedef Named_function_parameters<K, Tag> Params;
return Params(p);
}
template <typename K>
Named_function_parameters<K, Tag>
operator=(const K& p) const