Boost logo

Boost :

Subject: Re: [boost] interprocess with unordered_map
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2012-03-15 17:31:33

El 15/03/2012 3:14, Joel Young escribió:
> Can the interprocess::basic_string be modified to allow these conversions?
> I hate having to do:
> key_val = "fruitcake";
> db.find(key_val);

interprocess::basic_string is now boost::container::basic_string, which
follows std::basic_string interface. And you always need an allocator to
place the string in shared memory. I don' think it could be implicitly
constructible from char* or std::string.


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