std::bit_xor<void>
来自 cppreference.cn
< cpp | utility | functional
定义于头文件 <functional> |
||
template<> class bit_xor<void>; |
(自 C++14 起) | |
std::bit_xor<void> 是 std::bit_xor 的特化,带有推导出的形参和返回类型。
内容 |
[编辑] 嵌套类型
嵌套类型 | 定义 |
is_transparent
|
未指定 |
[编辑] 成员函数
operator() |
将 operator^ 应用于 lhs 和 rhs(公共成员函数) |
std::bit_xor<void>::operator()
template< class T, class U > constexpr auto operator()( T&& lhs, U&& rhs ) const |
||
返回 std::forward<T>(lhs) ^ std::forward<U>(rhs) 的结果。
形参
lhs, rhs | - | 要进行按位异或运算的值 |
返回值
std::forward<T>(lhs) ^ std::forward<U>(rhs).
[编辑] 示例
本节尚不完整 原因:没有示例 |