|
Boost : |
From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2002-08-20 18:44:26
"Larry Evans" <jcampbell3_at_[hidden]> wrote:
> Philippe A. Bouchard wrote:
>
> >Partly specialized functions were converted to partly specialized
structures
> >in .../ptr/inherit2.cpp.
> >
> I'm sorry, I don't see how this matters.
Internal compiler error with gcc 2.95 (not standard C++).
[...]
> >dpB->Mid<right>::m=9
> >dpB->Mid<right>::t=8
[...]
> >going up right branch:
> >Mid<right>::m=9
> >:spT->t=6
> >
> The right branch should return "spT->t=8" to mirror
> what's returned by the output line:
>
> dpB->Mid<right>::t=8
It doesn't really matter if SmartPtr<Top> is considered the same parent.
ptr_base<Top, __false_type>::s_offset (former s_ptrdiff) will just be
larger. I personally feel comfortable with my design.
Philippe A. Bouchard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk