Boost logo

Boost Users :

Subject: [Boost-users] [parameter] Using named parameter types in return type
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-08-30 15:59:52

In BOOST_PARAMETER_FUNCTION, one argument to specify is the return type of
the function. How do I refer to the types deduced for the named
parameters in the return type? I am creating a factory function for a
class template (similar to std::make_pair) and would like to use named
parameters for it. I did not see any obvious way to do this in the
documentation. Is there a way? A documented name for the ArgPack? I am
using C++0x so it would be OK to have a solution that requires that.

-- Jeremiah Willcock

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at