Boost logo

Boost :

Subject: Re: [boost] [type_traits] is_base_of<B, D> should work when B is incomplete
From: Matt Calabrese (rivorus_at_[hidden])
Date: 2016-03-03 17:38:56


On Thu, Mar 3, 2016 at 5:33 PM, Matt Calabrese <rivorus_at_[hidden]> wrote:

> The code that is linked is old and not fully correct, although in the time
> since that thread, I have produced what I believe to be a fully correct and
> well tested implementation.
>

Also, to clarify, the reason why that code isn't fully correct is that it
doesn't work for certain kinds of types, such as reference types. There
were likely other changes, though I don't have the fully correct
implementation in front of me. It was not very complicated, though.

-- 
-Matt Calabrese

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