Skip to content

Commit 5bee0be

Browse files
committed
Update post
1 parent b08de8e commit 5bee0be

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

‎posts/260114_move_semantics_explained.adoc‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,13 @@ Consider a variable `s` of type `std::string`, the value of which is some string
1515
std::string s("orange");
1616
// The value of 's' is "orange".
1717
18-
std::string s2(
19-
// What to write here to 's2' get the same value as 's'?
20-
)
18+
// How to define 's2' so that has the same value as 's'?
2119
----
2220

23-
To achieve that, the initialization of `s2` somehow needs to refer to `s`.
21+
To resolve this problem, we first need to answer another question:
2422

25-
In situations like this one, the fundamental question is:
23+
IMPORTANT: *What should happen with the value of `s`?*
2624

27-
IMPORTANT: What should happen with the value of `s`?
2825

2926

3027
include::{rootdir}/include/copyright.adoc[]

0 commit comments

Comments
 (0)