https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117615
--- Comment #12 from Alec ---
Thank you guys for the speedy pickup, triage, and turnaround! Keep up the good
work!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117615
--- Comment #1 from Alec ---
It is worth noting that the same code compiles under clang-18 (haven't tested
other versions), although that doesn't mean they're doing the right thing.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117615
Bug ID: 117615
Summary: constexpr failure static_cast of Derived virtual
Pointer to Member
Product: gcc
Version: 14.2.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105865
--- Comment #2 from Alec ---
(In reply to Alec from comment #1)
> It also works when trying to use a template helper outside of the constructor
> See the example here https://godbolt.org/z/3raenhnjr
A regular static_cast placed where the templa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105865
--- Comment #1 from Alec ---
It also works when trying to use a template helper outside of the constructor
See the example here https://godbolt.org/z/3raenhnjr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105865
Bug ID: 105865
Summary: false positive expression static_cast
pointer-to-member upcast in constexpr constructor
Product: gcc
Version: 12.1.1
Status: UNCONFIRMED