
On 23/07/2010 15:45, this_thread wrote:
I can't seem to get the hang of strings though. I've looked around online and can't seem to find an example of how this should be set up, and I can't get it to accept an allocator. The only way I can seem to typedef one is something like:
typedef boost::interprocess::string BoostString - or - typedef boost::interprocess::basic_string<char> BoostString;
Just as any container, interprocess basic_string needs an allocator, but
it's the third argument (just like std::string, by the way) :
template