![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
Function object for performing logical AND (logical conjunction). Effectively calls operator&& on type T.
More...
Public Types | |
| 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) | |
Public Member Functions | |
| ARENE_IGNORE_ARMCLANG ("-Wnull-conversion", "The standard expects the conversions here") | |
| ARENE_IGNORE_END () | |
| ARENE_IGNORE_START () | |
| 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. | |
Function object for performing logical AND (logical conjunction). Effectively calls operator&& on type T.
| T | The type of the values. |
result_type, first_argument type, and second_argument type. These aliases have been deprecated in C++17 and removed in C++20. | using std::logical_and< T >::first_argument_type = T |
Type of the first value to logically AND (deprecated in C++17)(removed in C++20)
| using std::logical_and< T >::result_type = bool |
Result type of invoking this object (deprecated in C++17)(removed in C++20)
| using std::logical_and< T >::second_argument_type = T |
Type of the second value to logically AND (deprecated in C++17)(removed in C++20)
| std::logical_and< T >::ARENE_IGNORE_ARMCLANG | ( | "-Wnull-conversion" | , |
| "The standard expects the conversions here" | ) |
| std::logical_and< T >::ARENE_IGNORE_END | ( | ) |
| std::logical_and< T >::ARENE_IGNORE_START | ( | ) |
|
inlineconstexprnoexcept |
Returns the logical AND of lhs and rhs.
| U | Template parameter to enable constraints. |
| lhs | The first value to compute logical AND of |
| rhs | The second value to compute logical AND of |
lhs && rhs.