Possible Duplicate:
What is an unnamed type in C++?
I am new in OOP with C++. I would really appreciate if anyone can simply give me some idea about the "nameless object." When it is created and what is the advantage? Thanks in advance.
Possible Duplicate:
What is an unnamed type in C++?
I am new in OOP with C++. I would really appreciate if anyone can simply give me some idea about the "nameless object." When it is created and what is the advantage? Thanks in advance.
Probably you mean "anonymous" which is the same as it's a Greek word which translates to "without name". So try looking for anonymous classes and methods to learn more:
For an easy example let's say :
rectangle(point(0,0),point(100,100));
The point(0,0)
and point(100,100)
create "nameless" objects (I hope you are referring to this and not something else).