tmp/tmptfwwlbyp/{from.md → to.md}
RENAMED
|
@@ -10,16 +10,17 @@ constexpr bitset() noexcept;
|
|
| 10 |
constexpr bitset(unsigned long long val) noexcept;
|
| 11 |
```
|
| 12 |
|
| 13 |
*Effects:* Initializes the first `M` bit positions to the corresponding
|
| 14 |
bit values in `val`. `M` is the smaller of `N` and the number of bits in
|
| 15 |
-
the value representation [[
|
| 16 |
-
`M < N`, the remaining bit positions are
|
|
|
|
| 17 |
|
| 18 |
``` cpp
|
| 19 |
template<class charT, class traits, class Allocator>
|
| 20 |
-
explicit bitset(
|
| 21 |
const basic_string<charT, traits, Allocator>& str,
|
| 22 |
typename basic_string<charT, traits, Allocator>::size_type pos = 0,
|
| 23 |
typename basic_string<charT, traits, Allocator>::size_type n
|
| 24 |
= basic_string<charT, traits, Allocator>::npos,
|
| 25 |
charT zero = charT('0'),
|
|
@@ -45,11 +46,11 @@ The function uses `traits::eq` to compare the character values.
|
|
| 45 |
any of the `rlen` characters in `str` beginning at position `pos` is
|
| 46 |
other than `zero` or `one`.
|
| 47 |
|
| 48 |
``` cpp
|
| 49 |
template<class charT>
|
| 50 |
-
explicit bitset(
|
| 51 |
const charT* str,
|
| 52 |
typename basic_string<charT>::size_type n = basic_string<charT>::npos,
|
| 53 |
charT zero = charT('0'),
|
| 54 |
charT one = charT('1'));
|
| 55 |
```
|
|
|
|
| 10 |
constexpr bitset(unsigned long long val) noexcept;
|
| 11 |
```
|
| 12 |
|
| 13 |
*Effects:* Initializes the first `M` bit positions to the corresponding
|
| 14 |
bit values in `val`. `M` is the smaller of `N` and the number of bits in
|
| 15 |
+
the value representation [[term.object.representation]] of
|
| 16 |
+
`unsigned long long`. If `M < N`, the remaining bit positions are
|
| 17 |
+
initialized to zero.
|
| 18 |
|
| 19 |
``` cpp
|
| 20 |
template<class charT, class traits, class Allocator>
|
| 21 |
+
constexpr explicit bitset(
|
| 22 |
const basic_string<charT, traits, Allocator>& str,
|
| 23 |
typename basic_string<charT, traits, Allocator>::size_type pos = 0,
|
| 24 |
typename basic_string<charT, traits, Allocator>::size_type n
|
| 25 |
= basic_string<charT, traits, Allocator>::npos,
|
| 26 |
charT zero = charT('0'),
|
|
|
|
| 46 |
any of the `rlen` characters in `str` beginning at position `pos` is
|
| 47 |
other than `zero` or `one`.
|
| 48 |
|
| 49 |
``` cpp
|
| 50 |
template<class charT>
|
| 51 |
+
constexpr explicit bitset(
|
| 52 |
const charT* str,
|
| 53 |
typename basic_string<charT>::size_type n = basic_string<charT>::npos,
|
| 54 |
charT zero = charT('0'),
|
| 55 |
charT one = charT('1'));
|
| 56 |
```
|