2 Jan 2012 21:53
Re: Re: A few questions about the source.
Sanjay Ghemawat <sanjay <at> google.com>
2012-01-02 20:53:25 GMT
2012-01-02 20:53:25 GMT
On Wed, Dec 28, 2011 at 12:05 AM, Patrick Twohig <patrick.twohig <at> gmail.com> wrote: > Sorry, link pasted funny: http://mysticpaste.com/view/11057 > > > > On Dec 28, 12:04 am, Patrick Twohig <patrick.two... <at> gmail.com> wrote: >> C++98 certainly allows for it. It's a little clumsy, but so long as >> you always you always construct the string using the allocator or use >> a copy of an existing string. >> Sample program here:http://mysticpaste.com/view/11057Andyou can see >> the reference page here:http://en.cppreference.com/w/cpp/string/basic_string/basic_string >> C++1X only added rvalue references for move semantics. >> Cheers,Patrick. >> >> On Dec 27, 10:34 pm, Florian Weimer <f... <at> deneb.enyo.de> wrote: >> >> >> >> >> >> >> >> > * Patrick Twohig: >> >> > >> leveldb uses new/delete all over the place internally. Just fixing this one >> > >> part of the API would not make it suitable for use on a platform that >> > >> does not support new/delete. >> >> > > Along those lines would it be possible to re-factor the Env class to(Continue reading)
RSS Feed