Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2007-01-02 12:53:37


"Ovanes Markarian" <om_boost_at_[hidden]> writes:

> In such a case I have to introduce a second parameter to the item_visitor template:
>
> template<class Pair, template<class> SomeView>
> struct item_visitor { ... };
>

I see that you've answered your own question, but... I suggest not
using template template parameters. class templates that use template
template parameters are not compatible with MPL lambdas. It's usually
better to accept a unary MPL lambda expression.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net