From 8da155a34985a67738ef7fa1a07cc29af0574f07 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Wed, 17 Jul 2024 20:00:35 +0200 Subject: Data stuff --- modules/codec/c++/data.hpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'modules/codec/c++') diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp index 05bd8e2..8eff115 100644 --- a/modules/codec/c++/data.hpp +++ b/modules/codec/c++/data.hpp @@ -235,6 +235,27 @@ public: } }; +/* +template +class data>, encode::Native, storage::Default { +public: + using Schema = schema::Ref>; +private: + ref>::type> orig_; +public: + data(ref>::type> orig__): + orig_{orig__} + {} + + /// @TODO what do we really want to return? + data, encode::Native> operator+(const data& rhs) const { + data> prim; + + return prim; + } +}; +*/ + /** * Union type for native data classes */ -- cgit v1.2.3