string storage

This commit is contained in:
Claudius Holeksa 2021-12-05 19:48:20 +01:00
parent 3bee2457a6
commit 786c070c77
1 changed files with 13 additions and 1 deletions

View File

@ -104,6 +104,18 @@ public:
void set(const ValueType &v) { value = v; }
const T &get() { return value; }
const ValueType &get() const { return value; }
};
template <> class MessageContainer<schema::String> {
public:
private:
using ValueType = std::string;
ValueType value;
public:
void set(const ValueType &v) { value = v; }
const ValueType &get() const { return value; }
};
} // namespace gin