
16 Jun
2009
16 Jun
'09
4:25 a.m.
The nice thing about using monotonic::shared_storage is that you can use all containers in a thread-safe way transparently and efficiently, without needing to change the containers themselves.
This is a very pleasing result.
That may be, but it is also incorrect. Just by having the allocator thread-safe, doesn't mean that the containers that use that allocator are also thread-safe.