[cfe-dev] noexcept and local variables

Marc Glisse marc.glisse at inria.fr
Wed Jun 1 04:21:30 PDT 2011


On Sat, 28 May 2011, Howard Hinnant wrote:

>> On Fri, 27 May 2011, Howard Hinnant wrote:
>>
>>> I've created __is_swappable<T> and __is_nothrow_swappable<T> to put into the noexcepts everywhere I need to.
>
> I'll be checking in a fix shortly

Hello,

don't you need to also constrain the other swap overloads (say 
swap(pair,pair) should only exist when the elements are swappable, etc)?

Although it sounds like the latest fix from Sean Hunt makes the whole 
swappable trait thing unnecessary.

-- 
Marc Glisse



More information about the cfe-dev mailing list