new declaration

B

balal.cse

hi
i came across a program where the object is declared as
Qpixmap instance();
here Qpixmap is a class and i am sure that there is no constructor in
the program .i cant understand ,please help.

Thanks in advance
 
J

James Kanze

i came across a program where the object is declared as
Qpixmap instance();
here Qpixmap is a class and i am sure that there is no constructor in
the program .i cant understand ,please help.

The above doesn't declare an object, but a function.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,201
Messages
2,571,048
Members
47,651
Latest member
VeraPiw932

Latest Threads

Top