|
![](/i/fill.gif) |
Warp wrote:
> You are trying to implement a function void A::xx(int) which hasn't
> been declared in the class A declaration. It won't compile.
That I didn't know. Will it work if you just make xx(int) and xx(long)
globals?
> Note that void A::xx(long) and void A::xx(int) are two different functions,
> with different fingerprints. You cannot override one with the other.
Well, I was trying to overload, not override as such.
--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where's that?"
"It's the Age of Channelwood."
"We should go there on vacation some time."
Post a reply to this message
|
![](/i/fill.gif) |