Convert a general type to int.
More...
#include <wex/core/type-to-value.h>
|
| 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.
|
|
Convert a general type to int.