Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #85461

Do any STL inserters use std::move() by default?

From Muttley@dastardlyhq.com
Newsgroups comp.lang.c++
Subject Do any STL inserters use std::move() by default?
Date 2022-07-18 15:55 +0000
Organization Aioe.org NNTP Server
Message-ID <tb3vor$1foi$1@gioia.aioe.org> (permalink)

Show all headers | View raw


Having to to call move() manually eg: v.push_back(std::move(str)) when you
need move functionality can become tedious. Are there any or will there be any 
inserters that use move() by default?

Back to comp.lang.c++ | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Do any STL inserters use std::move() by default? Muttley@dastardlyhq.com - 2022-07-18 15:55 +0000
  Re: Do any STL inserters use std::move() by default? Gawr Gura <gawrgura@mail.hololive.com> - 2022-07-18 10:25 -0700
    Re: Do any STL inserters use std::move() by default? "Alf P. Steinbach" <alf.p.steinbach@gmail.com> - 2022-07-18 20:36 +0200
  Re: Do any STL inserters use std::move() by default? Manfred <noname@add.invalid> - 2022-07-19 02:30 +0200
    Re: Do any STL inserters use std::move() by default? Juha Nieminen <nospam@thanks.invalid> - 2022-07-19 07:24 +0000

csiph-web