Re: error: no matching function for call to `Anton::Anton(Anton)`

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"e.karge" <e.karge@xxxxxxxxxxxx> 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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux