Boost logo

Boost :

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


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>

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

Boost list run by bdawes at, gregod at, cpdaniel at, john at