|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-17 08:13:59
Cute, but I think only a class type can be a base.
Can you write:
struct B : void {};
?
----- Original Message -----
From: "Peter Dimov" <pdimov_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, January 17, 2002 6:54 AM
Subject: Re: [boost] type_traits: is_base_and_derived bug
> From: "David Abrahams" <david.abrahams_at_[hidden]>
> > I think we need to check for Base == void; this case reports that void
is
> a
> > base of BB:
>
> void is a base of BB.
>
> --
> Peter Dimov
> Multi Media Ltd.
>
>
> Info: http://www.boost.org Send unsubscribe requests to:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk