This is the mail archive of the gcc-bugs@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]

[Bug c++/52869] [DR 1207] "this" not being allowed in noexcept clauses


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

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