Boost logo

Boost Users :

Subject: Re: [Boost-users] boost.parameter - best practices
From: Christoph Heindl (christoph.heindl_at_[hidden])
Date: 2011-04-15 02:51:49

On Wed, Apr 13, 2011 at 5:07 PM, Dave Abrahams <dave_at_[hidden]> wrote:
> I don't know.  Did you try just using BOOST_PARAMETER_NAME at class
> scope?  (I'm pretty sure that won't work but it's worth a shot).

It opens a namespace which probably not legal inside a class scope.

> Do you mean, any way to limit which keywords are allowed?
> Sure.  Oh, wow, I see that's been dropped from the documentation!  Yikes!
> And I can't reconstruct it from memory (double Yikes)!
> Daniel, can you try to explain how to use
> boost::parameter::parameters<...>::type to do SFINAE?

That would be of great help!


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