std::bit_or<void>
< cpp | utility | functional
在标头
<functional> 定义 |
||
template<>
class bit_or<void>; |
(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<T>(lhs) | std::forward<U>(rhs) 的结果。
参数
lhs, rhs | - | 要逐位或的值 |
返回值
std::forward<T>(lhs) | std::forward<U>(rhs)。
示例
本节未完成 原因:暂无示例 |