
19 Mar
2010
19 Mar
'10
1:49 a.m.
El 18/03/2010 18:17, med ennemri escribió:
Hi all How to initialising boost::interprocess::basic_string using std::string;
Use this constructor passing std::string::c_str() (and don't forget the
allocator, interprocess containers need always a valid allocator to
allocate memory in shared memory):
basic_string(const CharT* s,
const allocator_type& a = allocator_type())
typedef /*...*/ interprocess_string_t;
interprocess_string_t * =
managed_shm.construct