[Bug c++/105865] false positive non-consant expression: static_cast pointer-to-member upcast in constexpr constructor

acox at reliablecontrols dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 7 20:47:06 GMT 2022


--- Comment #1 from Alec <acox at reliablecontrols dot com> ---
It also works when trying to use a template helper outside of the constructor
See the example here https://godbolt.org/z/3raenhnjr

More information about the Gcc-bugs mailing list