|
Boost Users : |
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2007-03-22 06:17:22
Matthew Bray skrev:
>
> The code below almost allows the transfer functions to work as shown in
> the current documentation, unfortunately
> 'reversible_ptr_container::c_private()' is protected and stopping the
> lines 'from.c_private(). ...' from compiling. If c_private is made
> public then the transfer functions work correctly, possibly there's a
> further work-around?
The code is definitely intended to work between different sequence
containers.
Therefore you would not get into problems if you modified your local
copy and made c_private() public (just don't use c_private() directly).
I can't think of any better solution. Sorry.
-Thorsten
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net