[Bug c++/105610] warn about cv qualifiers ignored for a base class

fsb4000 at yandex dot ru gcc-bugzilla@gcc.gnu.org
Mon May 16 09:34:40 GMT 2022


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

--- Comment #2 from fsb4000 at yandex dot ru ---
>Has anybody ever been confused about the semantics, and expected the cv-qualifiers to have an effect?

Yes. I saw a question on one forum why constness is not taken into account when
inheriting and whether there is a compiler bug.


More information about the Gcc-bugs mailing list