Boost logo

Boost Users :

Subject: Re: [Boost-users] enable_if operator+ exists
From: Zachary Turner (divisortheory_at_[hidden])
Date: 2009-12-06 03:47:03

2009/12/6 Frédéric Bron <frederic.bron_at_[hidden]>

> >> How would I implement the operator_plus_exists class?
> >
> > Such a traits have been added to type_traits, check the trunk or the
> vault.
> I am working on adding such traits for comparison operators
> (operator<, operator>...) You can have a look at a working draft here:
> Look at is_less_comparable.hpp
Thanks, for the record I actually finally got mine working. I figured out
at least 5 ways that *should* have worked, but MSVC wouldn't compile it.
But I did hit upon one that worked, but it's over on the boost dev mailing
list now.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at