Go to the source code of this file.
|
| template<size_t _Nb> |
| bitset< _Nb > _STLP_CALL | operator& (const bitset< _Nb > &__x, const bitset< _Nb > &__y) |
| |
| template<size_t _Nb> |
| bitset< _Nb > _STLP_CALL | operator| (const bitset< _Nb > &__x, const bitset< _Nb > &__y) |
| |
| template<size_t _Nb> |
| bitset< _Nb > _STLP_CALL | operator^ (const bitset< _Nb > &__x, const bitset< _Nb > &__y) |
| |
| template<class _CharT , class _Traits , size_t _Nb> |
| _STLP_END_NAMESPACE _STLP_BEGIN_NAMESPACE basic_istream< _CharT, _Traits > &_STLP_CALL | operator>> (basic_istream< _CharT, _Traits > &__is, bitset< _Nb > &__x) |
| |
| template<class _CharT , class _Traits , size_t _Nb> |
| basic_ostream< _CharT, _Traits > &_STLP_CALL | operator<< (basic_ostream< _CharT, _Traits > &__os, const bitset< _Nb > &__x) |
| |
◆ __BITS_PER_WORD
◆ __BITSET_WORDS
◆ operator&()
Definition at line 704 of file _bitset.h.
705 {
707 __result &= __y;
708 return __result;
709}
◆ operator<<()
Definition at line 218 of file _bitset.c.
220 {
223 return __os << __tmp;
224}
void _M_copy_to_string(string &__s) const
◆ operator>>()
Definition at line 179 of file _bitset.c.
179 {
182
183
185 if (__sentry) {
188 static typename _Traits::int_type __eof = _Traits::eof();
189
190 typename _Traits::int_type __c1 = __buf->
sbumpc();
191 if (_Traits::eq_int_type(__c1, __eof)) {
193 break;
194 }
195 else {
196 typename _Traits::char_type __c2 = _Traits::to_char_type(__c1);
198
199 if (
__c ==
'0' ||
__c ==
'1')
201 else if (_Traits::eq_int_type(__buf->
sputbackc(__c2), __eof)) {
203 break;
204 }
205 }
206 }
207
210 else
212 }
213
214 return __is;
215}
basic_streambuf< _CharT, _Traits > * rdbuf() const
void setstate(iostate __state)
char narrow(_CharT, char) const
int_type sputbackc(char_type __c)
void reserve(size_type=0)
void push_back(_CharT __c)
void _M_copy_from_string(const string &__s, size_t __pos, size_t __n)
#define __STATIC_CAST(__x, __y)
◆ operator^()
Definition at line 723 of file _bitset.h.
724 {
726 __result ^= __y;
727 return __result;
728}
◆ operator|()
Definition at line 714 of file _bitset.h.
715 {
717 __result |= __y;
718 return __result;
719}