Boost logo

Boost :

From: Dave Gomboc (dave_at_[hidden])
Date: 2003-03-24 18:25:56


> Even a simple overloading of two functions (if we don't want to
> disturb reference binding) seems to put it in serious trouble:
>
>
> void f(int) { something... }
> void f(short) { something else... }
>
> int main() {
> int i = 0;
> f(i);
> }

int and short do not have an is_base_and_derived relationship.

This thread is getting off-topic, so I'll stop here.

Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk