tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
minus< void > Struct Reference

#include <minus.hpp>

Public Types

using is_transparent = void
 

Public Member Functions

template<typename T, typename U>
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))
 Returns the difference between lhs and rhs.
 
constexpr auto operator() (void const &lhs, void const &rhs) const -> void
 Returns the difference between lhs and rhs.
 

Member Typedef Documentation

◆ is_transparent

using is_transparent = void

Member Function Documentation

◆ operator()() [1/2]

template<typename T, typename U>
auto operator() ( T && lhs,
U && rhs ) const -> decltype(etl::forward<T>(lhs) - etl::forward<U>(rhs))
inlinenodiscardconstexprnoexcept

Returns the difference between lhs and rhs.

◆ operator()() [2/2]

auto operator() ( void const & lhs,
void const & rhs ) const-> void
inlinenodiscardconstexpr

Returns the difference between lhs and rhs.


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