This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] More noexcept -- 3rd


On 18 September 2013 17:00, Paolo Carlini wrote:
> Hi,
>
>
> On 09/18/2013 05:51 PM, Marc Glisse wrote:
>>
>> Hello,
>>
>> some more containers...

Great, thanks for working your way through all these!

>> In debug array, we already have throw in noexcept functions, but if I
>> understand correctly it is only because of syntax limitations for
>> constexpr
>> functions and aborts before throwing, although the use of
>> _GLIBCXX_THROW_OR_ABORT is suspicious. In any case, I am not changing this
>> with my patch.
>
> If I remember correctly, somebody invented that mild hack and suggested it
> to indeed have a check as part of a constexpr function, not a trivial task.
> Jon participated to that discussion.

I think that old discussion was in the "Should _GLIBCXX_DEBUG affect
tr1/array?" thread in January 2012.

> After a while I resurrected that old
> discussion, tested the code and it appeared to work well. In practice, are
> you experiencing specific problems with it?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]