Boost logo

Boost :

From: Kevlin Henney (kevlin_at_[hidden])
Date: 2000-03-20 11:47:02


In message <38D64F3B.5BEC_at_[hidden]>, Valentin Bonnard
<Bonnard.V_at_[hidden]> writes
>How the privateness of auto_ptr_ref has anything to do with
>this problem is beyond me.

auto_ptr<X> cannot see anything that is private in auto_ptr<Y>, where X
and Y are different types, hence no conversion even if they are related
by inheritance.
____________________________________________________________

  Kevlin Henney Curbralan Ltd
  kevlin_at_[hidden] +44 (0) 7801 073 508
____________________________________________________________


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