StackOverflow Questions for Tag: move-semantics

oliver
oliver

Reputation: 6781

Warning "bugprone-exception-escape" when captured object throws in copy constructor

Score: 3

Views: 183

Answers: 2

Read More
Adrian McCarthy
Adrian McCarthy

Reputation: 48021

Should I `std::move` from the `std::future`?

Score: 0

Views: 109

Answers: 1

Read More
c z
c z

Reputation: 9027

Use after move in function call

Score: 3

Views: 162

Answers: 2

Read More
user5965026
user5965026

Reputation: 485

Is there any advantage to moving a pointer?

Score: 3

Views: 1335

Answers: 1

Read More
alfC
alfC

Reputation: 16300

Modern ways to implement assignment for value types

Score: 6

Views: 243

Answers: 2

Read More
Akababa
Akababa

Reputation: 357

Python "move semantics"

Score: 3

Views: 2066

Answers: 1

Read More
Geoff Romer
Geoff Romer

Reputation: 2508

std::forward without perfect forwarding?

Score: 15

Views: 3786

Answers: 3

Read More
Involute
Involute

Reputation: 245

Extracting a std::unique_ptr member using std::move(), from a class that is invalid when null: how to avoid invisibly making object invalid?

Score: 1

Views: 102

Answers: 2

Read More
Raven
Raven

Reputation: 3526

Write overloads for const reference and rvalue reference

Score: 4

Views: 1340

Answers: 3

Read More
code_fodder
code_fodder

Reputation: 16391

does std::vector copy/move elements when re-sizing?

Score: 2

Views: 2249

Answers: 1

Read More
Laith
Laith

Reputation: 1326

What makes moving objects faster than copying?

Score: 69

Views: 31403

Answers: 3

Read More
Tejas Anand
Tejas Anand

Reputation: 21

Do I need to use the move constructor when I already have a parameter which is being taken in as an r-value reference?

Score: 0

Views: 105

Answers: 1

Read More
Penny Dreudter
Penny Dreudter

Reputation: 760

How to use std::move when dealing with universal refernce parameters being passed to a function/method

Score: 6

Views: 55

Answers: 0

Read More
SLC
SLC

Reputation: 2207

C++11: Does a move operation change the address?

Score: 8

Views: 3876

Answers: 4

Read More
gvg
gvg

Reputation: 43

What happens in the memory when C++'s move semantics is used?

Score: 2

Views: 437

Answers: 1

Read More
Balaji
Balaji

Reputation: 2087

How do I temporarily pause / stop the Semantic Focus in Flutter programatically?

Score: 0

Views: 76

Answers: 0

Read More
Erciyuanshagou
Erciyuanshagou

Reputation: 26

Is this understanding correct: If an object stores everything in itself, copying it and moving it is actually the same thing?

Score: -4

Views: 242

Answers: 2

Read More
Bruno Mraz
Bruno Mraz

Reputation: 29

move assignment argument throws error when dereferenced but works when member accessed directly

Score: 1

Views: 126

Answers: 1

Read More
Francisco Castanheira
Francisco Castanheira

Reputation: 33

In C++, what happens under the hood when an rvalue of a move-only type is passed to a function by value?

Score: 1

Views: 95

Answers: 1

Read More
Magix
Magix

Reputation: 5349

"result type must be constructible from value type of input range" when creating a std::vector

Score: 13

Views: 36055

Answers: 3

Read More
PreviousPage 2Next