This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/80456] calling constexpr member function from volatile-qualified member function: error: ‘this’ is not a constant expression
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 20 Apr 2017 10:54:29 +0000
- Subject: [Bug c++/80456] calling constexpr member function from volatile-qualified member function: error: ‘this’ is not a constant expression
- Auto-submitted: auto-generated
- References: <bug-80456-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80456
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yeah, it doesn't need to evaluate 'this' in that declaration, it's calling a
static member function.