diff options
author | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-08-15 14:21:43 +0200 |
---|---|---|
committer | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-08-15 14:21:43 +0200 |
commit | d8fe9dc48b640fc977cd03b483e6fd6b620785ad (patch) | |
tree | 4e3403bdd12d90ae39fd96dac27efe21ac68b428 /modules/codec | |
parent | 1a88c40cad88eab0674a30eff581c96a82d808c7 (diff) |
removing stale files
Diffstat (limited to 'modules/codec')
-rw-r--r-- | modules/codec/c++/schema.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/codec/c++/schema.hpp b/modules/codec/c++/schema.hpp index 7df47b3..3820cf3 100644 --- a/modules/codec/c++/schema.hpp +++ b/modules/codec/c++/schema.hpp @@ -33,6 +33,13 @@ template <typename Schema, string_literal Literal> struct Member { static constexpr string_literal KeyLiteral = Literal; }; +template<typename Key, typename Value> struct Map { + static constexpr string_literal name = "Map"; + + using KeyType = Key; + using ValueType = Value; +}; + template <typename... T> struct Struct { static_assert( always_false<T...>, |