Added value_t::to_size_t method
This commit is contained in:
parent
8887fe9fa9
commit
f322769775
1 changed files with 11 additions and 10 deletions
|
|
@ -778,6 +778,7 @@ public:
|
||||||
bool to_boolean() const;
|
bool to_boolean() const;
|
||||||
int to_int() const;
|
int to_int() const;
|
||||||
long to_long() const;
|
long to_long() const;
|
||||||
|
std::size_t to_size_t() const { return static_cast<std::size_t>(to_long()); }
|
||||||
datetime_t to_datetime() const;
|
datetime_t to_datetime() const;
|
||||||
date_t to_date() const;
|
date_t to_date() const;
|
||||||
amount_t to_amount() const;
|
amount_t to_amount() const;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue