Boost logo

Boost :

Subject: Re: [boost] [thread/exception] trivial compile fix
From: Gaetano Mendola (mendola_at_[hidden])
Date: 2012-07-01 13:21:08


On 30/06/2012 23:48, Tim Blechmann wrote:
>>> the boost.lockfree testsuite requires the following trivial patch, which
>>> specifies the namespace for enable_if and disable_if. i've applied a
>>> similar patch to boost.parameter some time ago [1].
>>>
>>> as it is trivial, is it ok to commit to trunk or shall i submit it to
>>> trac that the thread/exception maintainers can apply it?
>>>
>>
>> Maybe I'm missing something but what's the relevance to Boost Exception
>> here?
>
> it is a fix/workaround for boost.thread and boost.exception. all it
> changes is to use boost::enable_if instead of enable_if

Isn't better to understand why ? It's not normal that enable_if inside
a nested namespace needs to have boost:: specified and while we are at
it why boost::enable_if and not ::boost::enable_if ?

Regards
Gaetano


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk