31 Jul
2011
31 Jul
'11
12:06 p.m.
On 7/31/2011 1:39 AM, Anthony Foiani wrote:
typedef boost::interprocess::basic_string< ShmCharType, std::char_traits< ShmCharType>, ShmCharAllocatorType > ShmStringType;
A string allocator will affect the storage of the stored characters, but doesn't affect the structure that is the body of the basic_string instance itself. Perhaps the actual string instance is not being shared? The other process has its own version and doesn't see the change to length.