Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2002-01-09 03:42:18

David Abrahams wrote:

> I think the right fix is to check
> is_convertible<add_reference<VBase>::type,
> add_reference<boost::named_template_param_base>::type>
> instead. Jeremy, this is one of yours. What do you think?

Tried it and your suggestion indeed makes it work.

template <class Value>
struct is_named_parameter
       enum { value = is_convertible<add_reference<Value>::type,
named_template_param_base>::value };

Boost list run by bdawes at, gregod at, cpdaniel at, john at