Boost logo

Boost :

Subject: Re: [boost] review request: addition to type_traits libraryofhas_operator_xxx
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-11-17 15:47:00


----- Original Message -----
From: "Frédéric Bron" <frederic.bron_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, November 17, 2010 9:23 PM
Subject: Re: [boost] review request: addition to type_traits libraryofhas_operator_xxx

> 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
_______________________________________________

It will be a shame if some operators, for which the trait can be defined, dont have it. Have you take a look to ConceptTraits? Maybe you can adapt the implementation?

Oh I see them now on the reference documentation. I was looking for a section that explains the motivation and the list of new traits that need to be reveiwed.

Vicente


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