error: no matching function for call to `Anton::Anton(Anton)`
Falk Hueffner
falk.hueffner@student.uni-tuebingen.de
Wed Oct 8 18:14:00 GMT 2003
"e.karge" <e.karge@struction.de> writes:
> The following code snippet will generate the compiler message quoted
> in the subject line. However, things worked fine with gcc
> 2.95.3. What's the reason for this
You have no copy constructor (Anton(const Anton &a)).
> and is there any general solution to work around this?
Write one.
--
Falk
More information about the Gcc-help
mailing list