4#ifndef TETL_FUNCTIONAL_EQUAL_TO_HPP
5#define TETL_FUNCTIONAL_EQUAL_TO_HPP
7#include <etl/_utility/forward.hpp>
14template <
typename T =
void>
24 using is_transparent =
void;
26 template <
typename T,
typename U>
27 [[nodiscard]]
constexpr auto
29 ->
decltype(
etl::forward<T>(lhs) ==
etl::forward<U>(rhs))
31 return etl::forward<T>(lhs) ==
etl::forward<U>(rhs);
Definition adjacent_find.hpp:9
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 equal_to.hpp:28
Function object for performing comparisons. Unless specialised, invokes operator== on type T....
Definition equal_to.hpp:15
constexpr auto operator()(T const &lhs, T const &rhs) const -> bool
Definition equal_to.hpp:16