Re: Operator overloading problems

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

 



bruno@xxxxxxxxxxxxx wrote:

	// Byte - int
	Byte operator- (int& i) const {
Byte operator- (int const &i) const {
	// Byte * Byte
	Byte operator* (Byte& b) const {
Byte operator* (Byte const &b) const {

likewise for the other operators.

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
         The voices in my head said this was stupid too
nathan@xxxxxxxxxxxxxxxx    ::     http://www.planetfall.pwp.blueyonder.co.uk



[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