|
Boost : |
Subject: Re: [boost] [type_traits] adding is_less_comparable<T>, etc.
From: John Maddock (john_at_[hidden])
Date: 2009-09-02 05:16:13
> Thanks for all contributions. It works very fine now.
> 1. the key is the use of the ... argument instead of a template parameter
> 2. there is no difference between using a factory function and using a
> static reference to a value of the type -> I prefer the static
> reference
> 3. there is no difference between using pass/fail and return char or
> char[2] but pass/fail is easier to read -> I keep it
With apologies for not keeping up with discussion: there is also
boost/type_traits/detail/yes_no_type.hpp that defines a yes_type and a
no_type along these lines.
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk