Boost logo

Boost :

Subject: Re: [boost] [Review] Type Traits Extension ending tomorrow
From: Joachim Faulhaber (afojgo_at_[hidden])
Date: 2011-03-19 06:52:51


2011/3/18 Frédéric Bron <frederic.bron_at_[hidden]>:
>> I'd prefer is_plus_assignable if we go that route.
>
> is_ or are_...

good point ;) I think is_ because

(1) We can think of the triple <T,U,R> of types that plus_assign *is*
applicable on.
(2) Each of those operations assigned to an operator can be decomposed

is_plus_assignable<T,U,R>

U *is* combinable to T and then the result *is* assignable to R

> Some time ago before this review, we had a long discussion about names
> and there was also the possibility to use namespace as replacement of
> common prefix. However I think this should be done for the entire type
> trait library,

hmm, I don't think this is an option. We would break existing code.

> not only the extension so that it should be a next step
> if it is believed to be interesting.

once published as official boost library it's too late to change the naming.

Joachim

-- 
Interval Container Library [Boost.Icl]
http://www.joachim-faulhaber.de

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