Init
This commit is contained in:
24
cppdraft/string/special.md
Normal file
24
cppdraft/string/special.md
Normal file
@@ -0,0 +1,24 @@
|
||||
[string.special]
|
||||
|
||||
# 27 Strings library [[strings]](./#strings)
|
||||
|
||||
## 27.4 String classes [[string.classes]](string.classes#string.special)
|
||||
|
||||
### 27.4.4 Non-member functions [[string.nonmembers]](string.nonmembers#string.special)
|
||||
|
||||
#### 27.4.4.3 swap [string.special]
|
||||
|
||||
[ð](#lib:swap,basic_string)
|
||||
|
||||
`template<class charT, class traits, class Allocator>
|
||||
constexpr void
|
||||
swap(basic_string<charT, traits, Allocator>& lhs,
|
||||
basic_string<charT, traits, Allocator>& rhs)
|
||||
noexcept(noexcept(lhs.swap(rhs)));
|
||||
`
|
||||
|
||||
[1](#1)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/strings.tex#L5001)
|
||||
|
||||
*Effects*: Equivalent to lhs.swap(rhs)[.](#1.sentence-1)
|
||||
Reference in New Issue
Block a user