Re: Making use of move semantics?
- From: Murray Cumming <murrayc murrayc com>
- To: Daniel Boles <dboles src gmail com>, gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Making use of move semantics?
- Date: Tue, 13 Jun 2017 09:31:34 +0200
On Sun, 2017-05-21 at 15:03 +0100, Daniel Boles wrote:
On 21 May 2017 at 14:29, Murray Cumming <murrayc murrayc com> wrote:
We've already used move/r-value-references in several places, but
not
for string arguments.
I assume that std::string's own move operations give us enough
efficiency, so we wouldn't gave much by adding overloads such as
set_something(std::string&& str);
but we could discuss specific code examples that we'd like to make more
efficient.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]