[shifted_ptr] STL required modifications

3 Jul
2008
3 Jul
'08
7:25 a.m.
Ok, If we comment out line 68 of shifted_ptr_test2.cpp in the sandbox and uncomment line 69 we will get a simplified version of the error messages we used to have with std::vector. It is easier this way uncovering the required modifications necessary to make STL user-friendly with smart pointers. I have also made shifted_allocator the way it should be. Yes it is strange replacing pointers to nodes inside containers and I don't see an urgent need for it but this can help unobfusticating the standards regarding pointers to nodes. Thanks, -Phil
6186
Age (days ago)
6186
Last active (days ago)
0 comments
1 participants
participants (1)
-
Phil Bouchard