diff options
Diffstat (limited to 'src/value.h')
-rw-r--r-- | src/value.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/value.h b/src/value.h index 62bbca63..28024767 100644 --- a/src/value.h +++ b/src/value.h @@ -676,6 +676,10 @@ public: #define NULL_VALUE (value_t()) +inline value_t string_value(const string& str) { + return value_t(str, true); +} + std::ostream& operator<<(std::ostream& out, const value_t& val); DECLARE_EXCEPTION(value_error); |