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