3#ifndef TETL_FUNCTIONAL_LOGICAL_OR_HPP
4#define TETL_FUNCTIONAL_LOGICAL_OR_HPP
13template <
typename T =
void>
15 [[nodiscard]]
constexpr auto operator()(T
const& lhs, T
const& rhs)
const ->
bool {
return lhs || rhs; }
22 template <
typename T,
typename U>
23 [[nodiscard]]
constexpr auto operator()(T&& lhs, U&& rhs)
const
Definition adjacent_find.hpp:8
constexpr auto forward(remove_reference_t< T > ¶m) noexcept -> T &&
Forwards lvalues as either lvalues or as rvalues, depending on T. When t is a forwarding reference (a...
Definition forward.hpp:18
void is_transparent
Definition logical_or.hpp:20
constexpr auto operator()(T &&lhs, U &&rhs) const noexcept(noexcept(etl::forward< T >(lhs)||etl::forward< U >(rhs))) -> decltype(etl::forward< T >(lhs)||etl::forward< U >(rhs))
Definition logical_or.hpp:23
Function object for performing logical OR (logical disjunction). Effectively calls operator|| on type...
Definition logical_or.hpp:14
constexpr auto operator()(T const &lhs, T const &rhs) const -> bool
Definition logical_or.hpp:15