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



           Summary: default constructor with argument INT

           Product: gcc

           Version: 4.5.1

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: c++

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: lis...@lisp2d.net





class A{

public:

};



A x; // OK

A y(1); //OK



I can't found that standard says: default constructor with argument INT.



By code protection I will write:



class A{

A(); // w/o definition

A(int); // w/o definition

public:

};



What to do?

Reply via email to