forked from boostorg/iterator
added support for reference named_parameters
[SVN r13638]
This commit is contained in:
@ -625,7 +625,7 @@ namespace detail {
|
|||||||
template <class Value>
|
template <class Value>
|
||||||
struct is_named_parameter
|
struct is_named_parameter
|
||||||
{
|
{
|
||||||
enum { value = is_convertible<Value, named_template_param_base>::value };
|
enum { value = is_convertible< add_reference< Value >::type, add_reference< named_template_param_base >::type >::value };
|
||||||
};
|
};
|
||||||
|
|
||||||
# if defined(__MWERKS__) && __MWERKS__ <= 0x2406 // workaround for broken is_convertible implementation
|
# if defined(__MWERKS__) && __MWERKS__ <= 0x2406 // workaround for broken is_convertible implementation
|
||||||
|
Reference in New Issue
Block a user