From Jason Turner

[string.contains]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpatmmlysf/{from.md → to.md} +14 -0
tmp/tmpatmmlysf/{from.md → to.md} RENAMED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ##### `basic_string::contains` <a id="string.contains">[[string.contains]]</a>
2
+
3
+ ``` cpp
4
+ constexpr bool contains(basic_string_view<charT, traits> x) const noexcept;
5
+ constexpr bool contains(charT x) const noexcept;
6
+ constexpr bool contains(const charT* x) const;
7
+ ```
8
+
9
+ *Effects:* Equivalent to:
10
+
11
+ ``` cpp
12
+ return basic_string_view<charT, traits>(data(), size()).contains(x);
13
+ ```
14
+