bit_xor Function

返回两个参数的值的二进制XOR。

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

参数

  • _Left
    lvalue 为第一个参数引用。

  • _Right
    lvalue 为第二个参数引用。

返回值

返回两个参数的值的二进制XOR。

备注

模板选件类定义其成员函数为返回 _Left^_Right。

要求

标头: <functional>

命名空间: std

请参见

参考

<functional>

Lvalue和Rvalues

标准模板库