libcopp  2.2.0
Public Member Functions | Data Fields
util::cli::phoenix::set_const_t< T > Struct Template Reference

通用赋值动作 - 设置变量值为某个固定值 More...

#include <cmd_option_phoenix.h>

Collaboration diagram for util::cli::phoenix::set_const_t< T >:
Collaboration graph

Public Member Functions

 set_const_t (T &t, const T &v)
 
void operator() (util::cli::callback_param)
 

Data Fields

T & var
 
val
 

Detailed Description

template<typename T>
struct util::cli::phoenix::set_const_t< T >

通用赋值动作 - 设置变量值为某个固定值

Definition at line 108 of file cmd_option_phoenix.h.

Constructor & Destructor Documentation

◆ set_const_t()

template<typename T >
util::cli::phoenix::set_const_t< T >::set_const_t ( T &  t,
const T &  v 
)
inline

Definition at line 111 of file cmd_option_phoenix.h.

Member Function Documentation

◆ operator()()

template<typename T >
void util::cli::phoenix::set_const_t< T >::operator() ( util::cli::callback_param  )
inline

Field Documentation

◆ val

template<typename T >
T util::cli::phoenix::set_const_t< T >::val

◆ var

template<typename T >
T& util::cli::phoenix::set_const_t< T >::var

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