tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
negate< T > Struct Template Reference

Function object for performing negation. Effectively calls operator- on an instance of type T. https://en.cppreference.com/w/cpp/utility/functional/negate. More...

#include <negate.hpp>

Public Member Functions

constexpr auto operator() (T const &arg) const -> T
 

Detailed Description

template<typename T = void>
struct etl::negate< T >

Function object for performing negation. Effectively calls operator- on an instance of type T. https://en.cppreference.com/w/cpp/utility/functional/negate.

Member Function Documentation

◆ operator()()

template<typename T = void>
auto operator() ( T const & arg) const -> T
inlinenodiscardconstexpr

The documentation for this struct was generated from the following file: