Boost logo

Boost :

Subject: Re: [boost] review request: addition to type_traits library of is_less_comparable<T, U> and others
From: Patrick Horgan (phorgan1_at_[hidden])
Date: 2009-12-06 12:19:02


Frédéric Bron wrote:
> I a in favor of implementing type traits to detect comparison and
> arithmetic operators. What for logical and bitwise operations?
I have no particular use cases in mind, but my prediction is that if you
only do the comparison and arithmetic operators, later someone will be
saying, "Why didn't he do that logical and bitwise operators? Now I
have to implement them myself!"

Patrick


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