This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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] | |
On 1 November 2013 11:48, Jonathan Wakely wrote:
> On 1 November 2013 11:28, Marc Glisse wrote:
>> On Fri, 1 Nov 2013, Jonathan Wakely wrote:
>>
>>> 2013-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
>>>
>>> N3421 C++1y Transparent functors
>>> * include/bits/stl_function.h (plus<void>, minus<void>,
>>> multiplies<void>, divides<void>, modulus<void>, negate<void>,
>>> equal_to<void>, not_equal_to<void>, greater<void>, less<void>,
>>> greater_equal<void>, less_equal<void>, logical_and<void>,
>>> logical_or<void>, logical_not<void>, bit_and<void>, bit_or<void>,
>>> bit_xor<void>, bit_not<void>): Define.
>>
>>
>> Thanks. Why use noexcept for everything except logical_not?
>
> Oops, because the regex I used to add noexcept only matched a
> trailing-return-type on a line by itself, and I missed that one. I'll
> fix it now, thanks!
Like so:
2013-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/bits/stl_function.h (logical_not<void>): Add noexcept.
Tested x86_64-linux, committed to trunk. Thanks to Marc for checking it.
Attachment:
patch.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |