[Bug c++/59792] New: Warning to suggest making non-virtual method const

eugene.zelenko at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Jan 13 18:47:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59792

            Bug ID: 59792
           Summary: Warning to suggest making non-virtual method const
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: eugene.zelenko at gmail dot com

Hi!

I think will be great to have warning which will suggest to make non-vuirtual
method const if doesn't modify object's state and/or call only other const
methods.

Eugene.



More information about the Gcc-bugs mailing list