diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-11-27 23:03:57 +0100 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-11-27 23:03:57 +0100 |
commit | aa2ecacd2e477eb5748f060d33138e0c12c0634f (patch) | |
tree | d0360b420ecddaf6b9986c004ea3e0b962c9ca1b /c++/codec/forst.h | |
parent | 0cf04f2d1ba5ed2a18fe9f3501f363cb3ff76c9f (diff) |
codec,core,tools: Adding dangling experimental changes
Diffstat (limited to 'c++/codec/forst.h')
-rw-r--r-- | c++/codec/forst.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/c++/codec/forst.h b/c++/codec/forst.h index cadf78e..7e8fbf0 100644 --- a/c++/codec/forst.h +++ b/c++/codec/forst.h @@ -6,8 +6,27 @@ namespace saw { namespace encode { struct KelForst {}; } +} + +#include "forst.tmpl.hpp" +namespace saw { class data<schema::String, encode::KelForst> { +private: + own<buffer> buff_; +public: + data(own<buffer> buff): + buff_{std::move(buff)} + {} +}; +template<typename... T, string_literal... Keys> +class data<schema::Struct<schema::Member<T,Keys>...>, encode::KelForst> { +private: + own<buffer> buff_; +public: + data(own<buffer> buff): + buff_{std::move(buff)} + {} }; } |