"Peter Dimov" <[EMAIL PROTECTED]> wrote in message
007001c2c78e$ca921550$1d00a8c0@pdimov2">news:007001c2c78e$ca921550$1d00a8c0@pdimov2...
> From: "Rani Sharoni" <[EMAIL PROTECTED]>
> >
> > I fogot to show little usability sample:
> >
> > struct B {};
> > struct B1 : B {};
> > struct B2 : B {};
> >
>From: "Andrei Alexandrescu" <[EMAIL PROTECTED]>
Sorry for the multiple posts.
> "Peter Dimov" <[EMAIL PROTECTED]> wrote in message
>
> > While we're at it, is the final verdict that is_base_and_derived
> > should be false? What about is_base_and_derived?
>
> Well, clearly void is no base.
True.
"Peter Dimov" <[EMAIL PROTECTED]> wrote in message
001b01c2c6f4$71f7a490$1d00a8c0@pdimov2">news:001b01c2c6f4$71f7a490$1d00a8c0@pdimov2...
> From: "Andrei Alexandrescu" <[EMAIL PROTECTED]>
> > At the cost of adding an extra name, maybe it would be nice to provide
> > is_base_and_derived and is_super