This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52869] [DR 1207] "this" not being allowed in noexcept clauses
- From: "david at doublewise dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 24 Aug 2017 23:02:38 +0000
- Subject: [Bug c++/52869] [DR 1207] "this" not being allowed in noexcept clauses
- Auto-submitted: auto-generated
- References: <bug-52869-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52869
David Stone <david at doublewise dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |david at doublewise dot net
--- Comment #2 from David Stone <david at doublewise dot net> ---
Simpler test case:
struct S {
void f() noexcept(noexcept(this)) {}
};
int main() {}
Updated standard reference stating that this should be valid:
http://eel.is/c++draft/expr.prim.this#2