|
Boost : |
From: Rob Stewart (stewart_at_[hidden])
Date: 2005-07-14 14:11:24
From: "Jonathan Turkanis" <technews_at_[hidden]>
>
> You could also do
>
> BOOST_WORKAROUND(GCC, LESS(3,2,3))
> BOOST_WORKAROUND(GCC, LESS_EQ(3,2,3))
> BOOST_WORKAROUND(GCC, TESTED_AT(3,2,3))
> ...
Those look nice, too.
You could also simplify the "LESS," "LESS_EQ," etc. operators
with the common abbreviations: LT, LE, GT, GE, and even EQ.
-- Rob Stewart stewart_at_[hidden] Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk