[parameter] How to create make_ functions with boost::parameter returning templated classes?
I want to write a make_ function for a complicated template, but can't
figure out how to determine the deduced types for the return type:
Say my class is:
template<class F>
struct templated_class
{
F f_;
double y_;
templated_class(F f, double y) : f_(i), y_(y){}
};
I tried variations on the following for the template argument of
templated_class:
BOOST_PARAMETER_NAME(y)
BOOST_PARAMETER_NAME(f)
BOOST_PARAMETER_FUNCTION(
(templated_class
participants (1)
-
jesseperla