 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
James Kuyper Guest
|
Posted: Fri Apr 02, 2004 4:50 pm Post subject: Re: unnamed class constructor |
|
|
Elias Pouloyiannis <stud1150 (AT) di (DOT) uoa.gr> wrote
...
| Quote: | How can one create a constructor for an unnamed class?
I'd really like an answer on this.
|
You can't. If the default constructor is unacceptable, you're going to
have to name the class in order to provide non-default semantics for
the construction of the objects.
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|