
26 Jul
2010
26 Jul
'10
6:37 p.m.
On 26/07/2010 20:00, this_thread wrote:
Correction, I was forgetting:
const CharAllocator *charAllocator = new CharAllocator(m_pShMem.get_segment_manager()); m_foostring = m_pShMem.construct<BoostString>("m_foostring")(*charAllocator);
It compiles now, but I'm getting weird errors during run time that I'm having trouble tracking down:
terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct NULL not valid Aborted (core dumped)
You are assigning or constructing a string from a null pointer. I think interprocess is ok, now it's in your hands ;-) Best, Ion