Namespaces
Variants

std:: bit_xor<void>

From cppreference.net
Utilities library
Function objects
Function invocation
(C++17) (C++23)
Identity function object
(C++20)
Old binders and adaptors
( until C++17* )
( until C++17* )
( until C++17* )
( until C++17* )
( until C++17* ) ( until C++17* ) ( until C++17* ) ( until C++17* )
( until C++20* )
( until C++20* )
( until C++17* ) ( until C++17* )
( until C++17* ) ( until C++17* )

( until C++17* )
( until C++17* ) ( until C++17* ) ( until C++17* ) ( until C++17* )
( until C++20* )
( until C++20* )
ヘッダーで定義 <functional>
template <>
class bit_xor < void > ;
(C++14以降)

std:: bit_xor < void > は、パラメータと戻り値の型が推論される std::bit_xor の特殊化です。

目次

ネストされた型

ネスト型 定義
is_transparent unspecified

メンバー関数

operator()
operator^ lhs rhs に適用する
(公開メンバ関数)

std::bit_xor<void>:: operator()

template < class T, class U >

constexpr auto operator ( ) ( T && lhs, U && rhs ) const

- > decltype ( std:: forward < T > ( lhs ) ^ std:: forward < U > ( rhs ) ) ;

std:: forward < T > ( lhs ) ^ std:: forward < U > ( rhs ) の結果を返します。

パラメータ

lhs, rhs - ビット単位XORを適用する値

戻り値

std:: forward < T > ( lhs ) ^ std:: forward < U > ( rhs )