Boost logo

Boost :

Subject: [boost] binary operator raits
From: frederic.bron_at_[hidden]
Date: 2008-09-05 11:31:09

I have just commited new traits in the sandbox (sandbox/type_traits) to know if a type is comparable or not. I have included tests but could not make bjam and quickbook run together so I have no
documentation to commit.
The names of the traits are based on standard header <functional>: is_less_comparable<T>, is_less_equal_comparable<T>, is_greater_comparable<T>, is_greater_equal_comparable<T>, is_
equal_to_comparable<T> and is_not_equal_to_comparable<T>.

Some comments about these traits:
- I was not able to remove the warnings,
- the traits inherits from true_type is the operator exists, however, I am not sure if we should return true if the binary operator does not return a type convertible to bool

F. Bron

Avis :
Ce message et toute pièce jointe sont la propriété d'Alcan et sont destinés seulement aux personnes ou à l'entité à qui le message est adressé. Si vous avez reçu ce message par erreur, veuillez le
détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas le destinataire du message, vous n'êtes pas autorisé à utiliser, à copier ou à divulguer le contenu du message ou ses pièces jointes
en tout ou en partie.

This message and any attachments are the property of Alcan and are intended solely for the named recipients or entity to whom this message is addressed. If you have received this message in error
please inform the sender via e-mail and destroy the message. If you are not the intended recipient you are not allowed to use, copy or disclose the contents or attachments in whole or in part.

Boost list run by bdawes at, gregod at, cpdaniel at, john at