Boost logo

Boost :

Subject: Re: [boost] review request: addition to type_traits library ofhas_operator_xxx
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2010-11-17 15:23:44


> I would expect all the C++ operators to be covered as ConceptTraits/OperatorTrats did. Next follows an extract from the documentation of this library for the missing operators.
> ::boost::has_address_of_op<T>::value
> ::boost::has_dereference_op<T>::value
> ::boost::has_member_access_op<T>::value
> ::boost::has_subscript_op<T1 [,T2]>::value
> ::boost::has_pointer_to_member_op<T1 [,T2]>::value
> ::boost::has_comma_op<T1 [,T2]>::value
> ::boost::has_function_call_op<T,R [,P1, ...]>::value

Not sure I am able to add all of them. &, * look rather similar to
unary operator I added.

> BTW, where are the new extensions documented, could you give a link?

Documentation is accessible at libs/type_traits/doc/html/index.html in
the archive or in the sandbox.

Frédéric


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk