std::bit_not<void>
來自 cppreference.com
定義於標頭檔案 <functional> |
||
template<> class bit_not<void>; |
(C++14 起) | |
std::bit_not<void> 是 std::bit_not 的特化,其引數和返回型別是推導的。
目錄 |
[編輯] 巢狀型別
巢狀型別 | 定義 |
is_transparent
|
未指定 |
[編輯] 成員函式
operator() |
對其引數應用 operator~ (公開成員函式) |
std::bit_not<void>::operator()
template< class T > constexpr auto operator()( T&& arg ) const |
||
返回 ~std::forward<T>(arg) 的結果。
引數
arg | - | 要進行按位非運算的值 |
返回值
~std::forward<T>(arg).
[編輯] 示例
本節不完整 原因:無示例 |