D
doublemaster007
class Foo;
main{
Foo(); //at ; or end of main?
Foo &x =Foo() //at the end of main right?
Foo x = Foo(5) // This doesnt call copy constructor.. strange!
Foo x = Foo (6,7,8) // Does this call copy constrcutor?
main{
Foo(); //at ; or end of main?
Foo &x =Foo() //at the end of main right?
Foo x = Foo(5) // This doesnt call copy constructor.. strange!
Foo x = Foo (6,7,8) // Does this call copy constrcutor?