|
![](/i/fill.gif) |
Warp wrote:
> OTOH, thinking about it: There's no function named 'bar' defined anywhere
> in the scope of foo.cc, so why should that even compile?
Move the declaration of bar(long) into foo.cc? Then if there's a
bar(int) in scope, it should be preferred over bar(long), if I follow
the overloading rules properly?
--
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) |