[ Web Proxy ]
URL:
Viewing: https://ru.cppreference.com/cpp/named_req/BitmaskType [Back]  [Original]

C++ : BitmaskType cppreference.com
cppreference.com

C++ : BitmaskType

cppreference.com
 
C++
(C++20)
(C++20)
(C++11)
(C++20)
/
(C++11)
(C++11)
(C++11)
(C++17)
 
C++
(C++11)

/
(C++20)
(C++11)    
(C++11)
(C++11)
(C++11)


 

, . std::bitset ( ) .

, , Ci Cj, Ci & Ci , Ci & Cj . , 0 .

operator&, operator|, operator^, operator~, operator&=, operator|= operator^=, , , .

BitmaskType:

X |= Y Y X
X &= ~Y Y X
X & Y , Y X

inline ( C++17)constexpr .

BitmaskType:

, - (, int n = std::ios_base::hex) , std::ios_base::fmtflags int.


Web Proxy Viewer  |  New URL  |  Original Page