Function object for performing logical AND (logical conjunction). Effectively calls operator&& on type T.
More...
|
| using | first_argument_type = T |
| | Type of the first value to logically AND (deprecated in C++17)(removed in C++20)
|
| |
| using | result_type = bool |
| | Result type of invoking this object (deprecated in C++17)(removed in C++20)
|
| |
| using | second_argument_type = T |
| | Type of the second value to logically AND (deprecated in C++17)(removed in C++20)
|
| |
|
| | ARENE_IGNORE_ARMCLANG ("-Wnull-conversion", "The standard expects the conversions here") |
| |
| constexpr auto | operator() (T const &lhs, T const &rhs) const noexcept(noexcept(std::declval< T const & >() &&std::declval< T const & >())) -> bool |
| | Returns the logical AND of lhs and rhs.
|
| |
template<class T = void>
class std::logical_and< T >
Function object for performing logical AND (logical conjunction). Effectively calls operator&& on type T.
- Template Parameters
-
- Note
- This class contains the member types
result_type, first_argument type, and second_argument type. These aliases have been deprecated in C++17 and removed in C++20.
◆ first_argument_type
Type of the first value to logically AND (deprecated in C++17)(removed in C++20)
◆ result_type
Result type of invoking this object (deprecated in C++17)(removed in C++20)
◆ second_argument_type
Type of the second value to logically AND (deprecated in C++17)(removed in C++20)
◆ ARENE_IGNORE_ARMCLANG()
template<class T = void>
| std::logical_and< T >::ARENE_IGNORE_ARMCLANG |
( |
"-Wnull-conversion" | , |
|
|
"The standard expects the conversions here" | ) |
◆ operator()()
template<class T = void>
| auto std::logical_and< T >::operator() |
( |
T const & | lhs, |
|
|
T const & | rhs ) const -> bool |
|
inlineconstexprnoexcept |
Returns the logical AND of lhs and rhs.
- Template Parameters
-
| U | Template parameter to enable constraints. |
- Parameters
-
| lhs | The first value to compute logical AND of |
| rhs | The second value to compute logical AND of |
- Returns
- Returns the result of invoking
lhs && rhs.
The documentation for this class was generated from the following file: