Namespaces
Variants

std:: bit_not<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* )
Definiert in Header <functional>
template <>
class bit_not < void > ;
(seit C++14)

std:: bit_not < void > ist eine Spezialisierung von std::bit_not mit abgeleitetem Parameter- und Rückgabetyp.

Inhaltsverzeichnis

Verschachtelte Typen

Geschachtelter Typ Definition
is_transparent unspecified

Memberfunktionen

operator()
wendet operator~ auf sein Argument an
(öffentliche Elementfunktion)

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

template < class T >

constexpr auto operator ( ) ( T && arg ) const

- > decltype ( ~ std:: forward < T > ( arg ) ) ;

Gibt das Ergebnis von ~ std:: forward < T > ( arg ) zurück.

Parameter

arg - Wert für bitweises NOT

Rückgabewert

~ std:: forward < T > ( arg ) .

Beispiel