From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2008-08-06 06:14:11
> TypeTraits is very useful, thanks you.
> However, recently, I needed something to know if a type is comparable (with operator<) and that was not in the library.
> Fortunately, somebody forwarded me an earlier post on the users list where I could find what I wanted. The implementation was inspired from boost/detail/is_incrementable.hpp
> I have written is_less_comparable, is_less_equal_comparable, is_greater_comparable... inspired from the same source and I wonder if it could be possible to add it to the library as I think it could be
> helpful for others. I give the source code below (if it is useful) but I am not able to make it fully general as it is in boost/type_traits. In particular, I do not understand all the macros that are
What about the traits-based concept-like library someone was working on?
It should allow that kind of checking easily.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk