libNeon
Loading...
Searching...
No Matches
neo::maybe_update< T > Struct Template Reference

#include <color.hpp>

Public Member Functions

 maybe_update (keep_t)
 
 maybe_update (T value_)
 
void set (T &target) const
 
template<class U >
void add (U &target) const
 

Public Attributes

const bool update
 
value
 

Constructor & Destructor Documentation

◆ maybe_update() [1/2]

template<class T >
neo::maybe_update< T >::maybe_update ( keep_t  )

◆ maybe_update() [2/2]

template<class T >
neo::maybe_update< T >::maybe_update ( value_)

Member Function Documentation

◆ add()

template<class T >
template<class U >
void neo::maybe_update< T >::add ( U &  target) const

◆ set()

template<class T >
void neo::maybe_update< T >::set ( T &  target) const

Member Data Documentation

◆ update

template<class T >
const bool neo::maybe_update< T >::update

◆ value

template<class T >
T neo::maybe_update< T >::value

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