Re: non-const reference to tem****ary derived from pure virtual Base
by reppisch <spam@[EMAIL PROTECTED]
>
May 6, 2008 at 05:17 PM
Hi,
i striped it down further to:
class Derived {
public:
Derived(int i) {};
};
class User {
public:
void useBase(Derived& b) {};
};
int main() {
User u;
u.useBase(Derived(1));
}
I think it's just a "feature" to prevent writing code with surprising
results....