diff --git a/attributes.hpp b/attributes.hpp index 8f1da15..297d20b 100644 --- a/attributes.hpp +++ b/attributes.hpp @@ -37,6 +37,11 @@ public: reference = string2type::convert(value); } + virtual T& get_value() const { + return reference; + } + +private: T &reference; };