[Bug libstdc++/107525] propagate_const should not be using SFINAE on its conversion operators

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 4 14:07:30 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107525

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Also, the constraint is wrong for the non-const conversion. It checks for
convertibility to const element_type* but should be element_type*.


More information about the Gcc-bugs mailing list