|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-07-17 15:46:25
Gennaro Prota <gennaro_prota_at_[hidden]> writes:
> On Mon, 17 Jul 2006 09:48:03 -0400, David Abrahams
> <dave_at_[hidden]> wrote:
>
>>You might be able to do something like
>>
>> BOOST_WORKAROUND(CXX_GCC, VERSION <= (3)(4)(2))
>>
>>as a transition step, and then when you're done, just make "VERSION"
>>optional. That would also allow checking just major, or just
>>major+minor versions:
>>
>> BOOST_WORKAROUND(CXX_GCC, VERSION <= (3)(4))
>
> That's nice :) You know, I like it as much as you do, but I'd rather
> be safe than sorry. What about the approach proposed by Joaquin?
Please be specific; I don't know what he proposed.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk