libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::LIBJMMCG_VER_NAMESPACE::invert_if< V, A > Struct Template Reference

Invert the value V if the boolean A is false. More...

#include <integer_power.hpp>

Inherits std::unary_function< V, V >.

Public Types

typedef std::unary_function< V, V >::result_type result_type
 
typedef std::unary_function< V, V >::argument_type argument_type
 

Static Public Member Functions

static constexpr result_type __fastcall FORCE_INLINE result (argument_type a) noexcept(true)
 

Detailed Description

template<typename V, bool A>
struct jmmcg::LIBJMMCG_VER_NAMESPACE::invert_if< V, A >

Invert the value V if the boolean A is false.

Definition at line 54 of file integer_power.hpp.

Member Typedef Documentation

◆ argument_type

template<typename V , bool A>
typedef std::unary_function<V, V>::argument_type jmmcg::LIBJMMCG_VER_NAMESPACE::invert_if< V, A >::argument_type

Definition at line 56 of file integer_power.hpp.

◆ result_type

template<typename V , bool A>
typedef std::unary_function<V, V>::result_type jmmcg::LIBJMMCG_VER_NAMESPACE::invert_if< V, A >::result_type

Definition at line 55 of file integer_power.hpp.

Member Function Documentation

◆ result()

template<typename V , bool A>
static constexpr result_type __fastcall FORCE_INLINE jmmcg::LIBJMMCG_VER_NAMESPACE::invert_if< V, A >::result ( argument_type  a)
inlinestaticconstexprnoexcept

Definition at line 58 of file integer_power.hpp.


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