Function object for performing logical OR (logical conjunction), specialized for deduction of parameter and return type.
More...
|
| 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)
|
| |
|
| | ARENE_IGNORE_ARMCLANG ("-Wnull-conversion", "The standard expects the conversions here") |
| |
| | ARENE_IGNORE_ARMCLANG ("-Wnull-conversion", "The standard expects the conversions here") |
| |
| 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.
◆ first_argument_type
Type of the first value to logically OR (deprecated in C++17)(removed in C++20)
◆ is_transparent
Denotes that this is a transparent function object type.
◆ 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 OR (deprecated in C++17)(removed in C++20)
◆ ARENE_IGNORE_ARMCLANG() [1/2]
| std::logical_or< void >::ARENE_IGNORE_ARMCLANG |
( |
"-Wnull-conversion" | , |
|
|
"The standard expects the conversions here" | ) |
◆ ARENE_IGNORE_ARMCLANG() [2/2]
| std::logical_or< void >::ARENE_IGNORE_ARMCLANG |
( |
"-Wnull-conversion" | , |
|
|
"The standard expects the conversions here" | ) |
◆ operator()() [1/2]
template<class T, class U>
Returns the logical OR of lhs and rhs.
- Template Parameters
-
| T | The type of lhs |
| U | The type of rhs |
- Parameters
-
| lhs | The first value to compute logical OR of |
| rhs | The second value to compute logical OR of |
- Returns
- Returns the result of invoking
lhs || rhs.
◆ operator()() [2/2]
| auto std::logical_or< void >::operator() |
( |
void const & | lhs, |
|
|
void const & | rhs ) const-> bool |
|
inlineconstexprnoexcept |
Returns the logical OR of lhs and rhs.
- Template Parameters
-
| U | Template parameter to enable constraints. |
- Parameters
-
| lhs | The first value to compute logical OR of |
| rhs | The second value to compute logical OR of |
- Returns
- Returns the result of invoking
lhs || rhs.
The documentation for this class was generated from the following file: