You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8b16c2d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: articles/move/introductory_example.adoc
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,15 @@
1
-
= Move Semantics Explained — Introduction
1
+
= 01: Introductory Example
2
2
Daniel Langr
3
3
//Daniel Langr <daniel.langr@outlook.com>
4
4
//:revdate: {docdate}
5
5
:revdate: January 2025
6
6
//:revremark: last modification
7
-
:rootdir: ..
7
+
:rootdir: ../..
8
8
include::{rootdir}/include/attributes.adoc[]
9
9
//:description:
10
10
11
+
This is a part of the mini-series link:./index.html[Move Semantics Explained].
12
+
11
13
Consider a variable `s` of type `std::string`, whose value is some string of characters. Suppose we now want to create another variable `s2` of type `std::string` that should contain the same value as `s`.
0 commit comments