From a89e7b88b5499c6b74574db70ca76dd62c218248 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Fri, 16 Aug 2024 11:34:20 +0200 Subject: Adding a string fucntion from stl --- modules/codec/c++/data.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/codec/c++') 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 bool operator==(const data& rhs){ if(size() != rhs.size()){ -- cgit v1.2.3