Re: [PATCH] c++: DR 1722: Make lambda to function pointer conv noexcept [PR90583]

2020-09-21 Thread Jason Merrill via Gcc-patches
On 9/21/20 3:57 PM, Marek Polacek wrote: DR 1722 clarifies that the conversion function from lambda to pointer to function should be noexcept(true). Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? OK. gcc/cp/ChangeLog: PR c++/90583 DR 1722 * lambda.c (ma

[PATCH] c++: DR 1722: Make lambda to function pointer conv noexcept [PR90583]

2020-09-21 Thread Marek Polacek via Gcc-patches
DR 1722 clarifies that the conversion function from lambda to pointer to function should be noexcept(true). Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? gcc/cp/ChangeLog: PR c++/90583 DR 1722 * lambda.c (maybe_add_lambda_conv_op): Mark the conversion funct