5#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_LOGICAL_AND_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_LOGICAL_AND_HPP_
25template <
class T =
void>
42 constexpr auto operator()(T
const& lhs, T
const& rhs)
const
68 template <
class T,
class U>
ARENE_IGNORE_ARMCLANG("-Wnull-conversion", "The standard expects the conversions here")
void is_transparent
Denotes that this is a transparent function object type.
Definition logical_and.hpp:57
constexpr auto operator()(T &&lhs, U &&rhs) const noexcept(noexcept(std::forward< T >(std::declval< T && >()) &&std::forward< U >(std::declval< U && >()))) ->
Returns the logical AND of lhs and rhs.
Definition logical_and.hpp:69
Function object for performing logical AND (logical conjunction). Effectively calls operator&& on typ...
Definition logical_and.hpp:26
T first_argument_type
Type of the first value to logically AND (deprecated in C++17)(removed in C++20)
Definition logical_and.hpp:31
bool result_type
Result type of invoking this object (deprecated in C++17)(removed in C++20)
Definition logical_and.hpp:29
T second_argument_type
Type of the second value to logically AND (deprecated in C++17)(removed in C++20)
Definition logical_and.hpp:33
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.
Definition logical_and.hpp:42
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