22 Mar
2007
22 Mar
'07
10:17 a.m.
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