4#ifndef TETL_FUNCTIONAL_BIT_NOT_HPP
5#define TETL_FUNCTIONAL_BIT_NOT_HPP
7#include <etl/_utility/forward.hpp>
16template <
typename T =
void>
20 return static_cast<T>(~arg);
26 using is_transparent =
void;
30 ->
decltype(~
etl::forward<T>(arg))
32 return ~
etl::forward<T>(arg);
Definition adjacent_find.hpp:9
constexpr auto operator()(T &&arg) const noexcept(noexcept(~etl::forward< T >(arg))) -> decltype(~etl::forward< T >(arg))
Definition bit_not.hpp:29
Function object for performing bitwise NOT. Effectively calls operator~ on type T.
Definition bit_not.hpp:17
constexpr auto operator()(T const &arg) const -> T
Definition bit_not.hpp:18