diff options
author | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-08-16 11:34:20 +0200 |
---|---|---|
committer | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-08-16 11:34:20 +0200 |
commit | a89e7b88b5499c6b74574db70ca76dd62c218248 (patch) | |
tree | 4cd31c6d0d6c64407528364c5d76a919d10800ff | |
parent | 391914c2925b7ecf88244b4d584294e08c8ada7c (diff) |
Adding a string fucntion from stl
-rw-r--r-- | modules/codec/c++/data.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp index 78fef35..bd4c15b 100644 --- a/modules/codec/c++/data.hpp +++ b/modules/codec/c++/data.hpp @@ -812,6 +812,10 @@ public: return value_; } + std::string stl_string() const { + return value_; + } + template<typename Enc2> bool operator==(const data<schema::String, Enc2>& rhs){ if(size() != rhs.size()){ |