Skip to content

Update move-constructors-and-move-assignment-operators-cpp.md - #2196

Merged
Colin Robertson (colin-home) merged 1 commit into
MicrosoftDocs:masterfrom
CaseyCarter:patch-3
May 15, 2020
Merged

Colin Robertson (colin-home) merged 1 commit into
MicrosoftDocs:masterfrom
CaseyCarter:patch-3

Conversation

@CaseyCarter

Copy link
Copy Markdown
Contributor

Annotate the sample MemoryBlock move constructor and move assignment operator with noexcept so they correctly produce the expected behavior in the example which reallocates a vector of MemoryBlock.

Fixes VSO-1120480.

Drive-by: Cleanup handwavy sentence about "preserving the rvalue property".

Annotate the sample `MemoryBlock` move constructor and move assignment operator with `noexcept` so they correctly produce the expected behavior in the example which reallocates a vector of `MemoryBlock`.

Fixes VSO-1120480.

Drive-by: Cleanup handwavy sentence about "preserving the rvalue property".

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Casey Carter (@CaseyCarter) Awesome, thanks.

@colin-home
Colin Robertson (colin-home) merged commit dd5c738 into MicrosoftDocs:master May 15, 2020
@CaseyCarter
Casey Carter (CaseyCarter) deleted the patch-3 branch May 15, 2020 01:00
@colin-home

Copy link
Copy Markdown
Contributor

Casey Carter (@CaseyCarter) It's in the publishing pipeline, and should be live Friday by 11AM Redmond time.

@CaseyCarter

Copy link
Copy Markdown
Contributor Author

Thanks, @corob-msft!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants