![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
Function object for performing logical OR (logical conjunction), specialized for deduction of parameter and return type. More...
Public Types | |
| using | first_argument_type |
| Type of the first value to logically OR (deprecated in C++17)(removed in C++20) | |
| using | is_transparent = void |
| Denotes that this is a transparent function object type. | |
| using | result_type |
| Result type of invoking this object (deprecated in C++17)(removed in C++20) | |
| using | second_argument_type |
| Type of the second value to logically OR (deprecated in C++17)(removed in C++20) | |
Public Member Functions | |
| ARENE_IGNORE_ARMCLANG ("-Wnull-conversion", "The standard expects the conversions here") | |
| ARENE_IGNORE_ARMCLANG ("-Wnull-conversion", "The standard expects the conversions here") | |
| ARENE_IGNORE_END () | |
| ARENE_IGNORE_END () | |
| ARENE_IGNORE_START () | |
| ARENE_IGNORE_START () | |
| template<class T, class U> | |
| constexpr auto | operator() (T &&lhs, U &&rhs) const noexcept(noexcept(std::declval< T && >()||std::declval< U && >())) -> |
Returns the logical OR of lhs and rhs. | |
| constexpr auto | operator() (void const &lhs, void const &rhs) const noexcept(noexcept(std::declval< void const & >()||std::declval< void const & >())) -> bool |
Returns the logical OR of lhs and rhs. | |
Function object for performing logical OR (logical conjunction), specialized for deduction of parameter and return type.
| using std::logical_or< void >::first_argument_type |
Type of the first value to logically OR (deprecated in C++17)(removed in C++20)
| using std::logical_or< void >::is_transparent = void |
Denotes that this is a transparent function object type.
| using std::logical_or< void >::result_type |
Result type of invoking this object (deprecated in C++17)(removed in C++20)
| using std::logical_or< void >::second_argument_type |
Type of the second value to logically OR (deprecated in C++17)(removed in C++20)
| std::logical_or< void >::ARENE_IGNORE_ARMCLANG | ( | "-Wnull-conversion" | , |
| "The standard expects the conversions here" | ) |
| std::logical_or< void >::ARENE_IGNORE_ARMCLANG | ( | "-Wnull-conversion" | , |
| "The standard expects the conversions here" | ) |
| std::logical_or< void >::ARENE_IGNORE_END | ( | ) |
| std::logical_or< void >::ARENE_IGNORE_END | ( | ) |
| std::logical_or< void >::ARENE_IGNORE_START | ( | ) |
| std::logical_or< void >::ARENE_IGNORE_START | ( | ) |
|
inlineconstexprnoexcept |
Returns the logical OR of lhs and rhs.
| T | The type of lhs |
| U | The type of rhs |
| lhs | The first value to compute logical OR of |
| rhs | The second value to compute logical OR of |
lhs || rhs.
|
inlineconstexprnoexcept |
Returns the logical OR of lhs and rhs.
| U | Template parameter to enable constraints. |
| lhs | The first value to compute logical OR of |
| rhs | The second value to compute logical OR of |
lhs || rhs.