5#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_LOGICAL_OR_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_LOGICAL_OR_HPP_
27template <
class T =
void>
44 constexpr auto operator()(T
const& lhs, T
const& rhs)
const
71 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.
Definition logical_or.hpp:72
void is_transparent
Denotes that this is a transparent function object type.
Definition logical_or.hpp:60
ARENE_IGNORE_ARMCLANG("-Wnull-conversion", "The standard expects the conversions here")
Function object for performing logical OR (logical disjunction). Effectively calls operator|| on type...
Definition logical_or.hpp:28
constexpr auto operator()(T const &lhs, T const &rhs) const noexcept(noexcept(std::declval< T const & >()||std::declval< T const & >())) -> bool
Returns the logical OR of lhs and rhs.
Definition logical_or.hpp:44
T first_argument_type
Type of the first value to logically OR (deprecated in C++17)(removed in C++20)
Definition logical_or.hpp:33
bool result_type
Result type of invoking this object (deprecated in C++17)(removed in C++20)
Definition logical_or.hpp:31
T second_argument_type
Type of the second value to logically OR (deprecated in C++17)(removed in C++20)
Definition logical_or.hpp:35
ARENE_IGNORE_ARMCLANG("-Wnull-conversion", "The standard expects the conversions here")
Provides macros used to disable and enable compiler specific diagnostics using the _Pragma operator.
#define ARENE_IGNORE_END()
Ends a region of a suppressed diagnostic.
Definition diagnostics.hpp:136
#define ARENE_IGNORE_START()
Begins a region of a suppressed diagnostic.
Definition diagnostics.hpp:131
auto declval() noexcept -> T &&
A dummy function that is declared but not defined, with a user-specified return type,...
constexpr auto forward(remove_reference_t< T > &value) noexcept -> T &&
Cast a value to an rvalue if T is an rvalue or rvalue reference, otherwise forward an lvalue referenc...
Definition forward.hpp:24