4#ifndef TETL_FUNCTIONAL_BIT_AND_HPP
5#define TETL_FUNCTIONAL_BIT_AND_HPP
7#include <etl/_utility/forward.hpp>
14template <
typename T =
void>
25 using is_transparent =
void;
27 template <
typename T,
typename U>
28 [[nodiscard]]
constexpr auto
30 ->
decltype(
etl::forward<T>(lhs) &
etl::forward<U>(rhs))
32 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 bit_and.hpp:29
Function object for performing bitwise AND. Effectively calls operator& on type T.
Definition bit_and.hpp:15
constexpr auto operator()(T const &lhs, T const &rhs) const -> T
Definition bit_and.hpp:16