std::bit_xor<void>
來自 cppreference.com
定義於標頭檔案 <functional> |
||
template<> class bit_xor<void>; |
(C++14 起) | |
std::bit_xor<void> 是 std::bit_xor 的一個特化,其引數型別和返回型別被推導。
目錄 |
[edit] 巢狀型別
巢狀型別 | 定義 |
is_transparent
|
未指定 |
[edit] 成員函式
operator() |
對 lhs 和 rhs 應用 operator^ (公開成員函式) |
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).
[edit] 示例
本節不完整 原因:無示例 |