tmp/tmprgj8zx9x/{from.md → to.md}
RENAMED
|
@@ -3,23 +3,23 @@
|
|
| 3 |
The header `<bitset>` defines a class template and several related
|
| 4 |
functions for representing and manipulating fixed-size sequences of
|
| 5 |
bits.
|
| 6 |
|
| 7 |
``` cpp
|
| 8 |
-
#include <string>
|
| 9 |
#include <iosfwd> // for istream[istream.syn], ostream[ostream.syn], see [iosfwd.syn]
|
| 10 |
|
| 11 |
namespace std {
|
| 12 |
template<size_t N> class bitset;
|
| 13 |
|
| 14 |
// [bitset.operators], bitset operators
|
| 15 |
template<size_t N>
|
| 16 |
-
bitset<N> operator&(const bitset<N>&, const bitset<N>&) noexcept;
|
| 17 |
template<size_t N>
|
| 18 |
-
bitset<N> operator|(const bitset<N>&, const bitset<N>&) noexcept;
|
| 19 |
template<size_t N>
|
| 20 |
-
bitset<N> operator^(const bitset<N>&, const bitset<N>&) noexcept;
|
| 21 |
template<class charT, class traits, size_t N>
|
| 22 |
basic_istream<charT, traits>&
|
| 23 |
operator>>(basic_istream<charT, traits>& is, bitset<N>& x);
|
| 24 |
template<class charT, class traits, size_t N>
|
| 25 |
basic_ostream<charT, traits>&
|
|
|
|
| 3 |
The header `<bitset>` defines a class template and several related
|
| 4 |
functions for representing and manipulating fixed-size sequences of
|
| 5 |
bits.
|
| 6 |
|
| 7 |
``` cpp
|
| 8 |
+
#include <string> // see [string.syn]
|
| 9 |
#include <iosfwd> // for istream[istream.syn], ostream[ostream.syn], see [iosfwd.syn]
|
| 10 |
|
| 11 |
namespace std {
|
| 12 |
template<size_t N> class bitset;
|
| 13 |
|
| 14 |
// [bitset.operators], bitset operators
|
| 15 |
template<size_t N>
|
| 16 |
+
constexpr bitset<N> operator&(const bitset<N>&, const bitset<N>&) noexcept;
|
| 17 |
template<size_t N>
|
| 18 |
+
constexpr bitset<N> operator|(const bitset<N>&, const bitset<N>&) noexcept;
|
| 19 |
template<size_t N>
|
| 20 |
+
constexpr bitset<N> operator^(const bitset<N>&, const bitset<N>&) noexcept;
|
| 21 |
template<class charT, class traits, size_t N>
|
| 22 |
basic_istream<charT, traits>&
|
| 23 |
operator>>(basic_istream<charT, traits>& is, bitset<N>& x);
|
| 24 |
template<class charT, class traits, size_t N>
|
| 25 |
basic_ostream<charT, traits>&
|