
9 Oct
2008
9 Oct
'08
3:17 p.m.
AMDG Joel Falcou wrote:
In the same way, checking for suff like operator[] yields invalid class name has_member_function_operator[]. So I propose we hand-code the following :
BOOST_HAS_SUBSCRIPT_OPERATOR( void(int) ) that builds a has_subscript_operator<T> class. Other similar operator should be handled the same way.
Can't you use a more general macro: BOOST_NAMED_HAS_MEMBER_FUNCTION(has_subscript_operator, operator[], void(int)) In Christ, Steven Watanabe