[Bug c++/12323] New: Constructor accepts wrong argument type silently

igodard at pacbell dot net gcc-bugzilla@gcc.gnu.org
Thu Sep 18 01:39:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Constructor accepts wrong argument type silently
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: igodard at pacbell dot net
                CC: gcc-bugs at gcc dot gnu dot org

A constructor looking for Foo(int, Bar<Baz>) also accepts Foo(int, Baz) without error.



More information about the Gcc-bugs mailing list