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