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_
14#include "arene/base/compiler_support/diagnostics.hpp"
15#include "stdlib/include/stdlib_detail/declval.hpp"
16#include "stdlib/include/stdlib_detail/forward.hpp"
25template <
class T =
void>
29 using result_type =
bool;
31 using first_argument_type = T;
33 using second_argument_type = T;
42 constexpr auto operator()(T
const& lhs, T
const& rhs)
const
57 using is_transparent =
void;
68 template <
class T,
class U>
69 constexpr auto operator()(T&& lhs, U&& rhs)
const
73 return std::forward<T>(lhs) && std::forward<U>(rhs);
ARENE_IGNORE_ARMCLANG("-Wnull-conversion", "The standard expects the conversions here")
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
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")
constexpr auto operator()(::arene::base::result< void, E > const &value) const noexcept(noexcept(hash< E >{}(std::declval< E const & >()))) -> std::size_t
Calculate the hash of a result.
Definition result.hpp:1827