wex v24.04.0
Public Member Functions | List of all members
wex::type_to_value< int > Class Reference

Convert a general type to int. More...

#include <wex/core/type-to-value.h>

Public Member Functions

 type_to_value (int v)
 Constructor, using int argument.
 
 type_to_value (const std::string &v)
 Constructor, using string argument.
 
int get () const
 Returns value as an integer.
 
const auto get_string () const
 Returns value as a string.
 

Detailed Description

Convert a general type to int.