Boost logo

Boost :

Subject: [boost] [interprocess] map of vectors
From: Jan Stetka (janpstetka_at_[hidden])
Date: 2008-11-25 13:59:56


Hi,

Is something like this likely to work?

typedef interprocess::vector<int, ShmemAllocator> MyVector

typedef std::pair<const long, MyVector> ValueType;

typedef allocator<ValueType, managed_shared_memory::segment_manager>
     ShmemAllocator;

typedef interprocess::map<long, MyVector, std::less<long>,
ShmemAllocator> MyMap;


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk