Variant: Support 64-bit numeric values

Closes #2101.
This commit is contained in:
Tomas Babej
2021-01-01 23:57:34 -05:00
parent c4cdfdae64
commit a641e4315f
2 changed files with 9 additions and 9 deletions

View File

@@ -99,7 +99,7 @@ public:
bool trivial () const;
bool get_bool () const;
int get_integer () const;
long long get_integer () const;
double get_real () const;
const std::string& get_string () const;
time_t get_date () const;
@@ -108,7 +108,7 @@ public:
private:
enum type _type {type_boolean};
bool _bool {false};
int _integer {0};
long long _integer {0};
double _real {0.0};
std::string _string {""};
time_t _date {0};