$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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