std::bit_and
Min standard notice:
Header: <functional>
Function object for performing bitwise AND. Effectively calls operator& on type T.
# Declarations
template< class T >
struct bit_and;
(until C++14)
template< class T = void >
struct bit_and;
(since C++14)
# Parameters
lhs, rhs: values to compute bitwise AND of
# Return value
The result of lhs & rhs.
# Defect reports
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| LWG 660 | C++98 | function objects for bitwise operations are missing | added |