[Bug c++/85858] -Weffc++ should not require copy ctor for const pointers

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 21 16:59:00 GMT 2018


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Mike Sharov from comment #0)
> When the pointer is const, it can not point to owned memory

Why not?


More information about the Gcc-bugs mailing list