Share via


bit_and Function

Returns the binary AND of the two parameters.

template<class Type>
    struct bit_and : public binary_function<Type, Type, Type> {
        Type operator()(
            const Type& _Left, 
            const Type& _Right
        )   const;
    };

Parameters

Parameter

Description

_Left

An lvalue reference to the first parameter.

_Right

An lvalue reference to the second parameter.

Return Value

Returns the result of a binary AND operation between the two parameters.

Requirements

Header: <functional>

Namespace: std

See Also

Reference

<functional>

Lvalues and Rvalues

Standard Template Library