Boost logo

Boost :

Subject: Re: [boost] [thread/exception] trivial compile fix
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2012-07-01 16:24:40


On Sun, Jul 1, 2012 at 10:21 AM, Gaetano Mendola <mendola_at_[hidden]> wrote:

> 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 ?
>

Also Boost Exception calls enable_if from namespace boost, not from a
nested namespace.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


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