From 2db0d6a52b91a6a05301332369152f7d6e055ee9 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 4 Dec 2023 17:33:10 +0100 Subject: codec: Renamed header file --- modules/codec/c++/schema_builder.h | 46 -------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 modules/codec/c++/schema_builder.h (limited to 'modules/codec/c++/schema_builder.h') diff --git a/modules/codec/c++/schema_builder.h b/modules/codec/c++/schema_builder.h deleted file mode 100644 index 91094fe..0000000 --- a/modules/codec/c++/schema_builder.h +++ /dev/null @@ -1,46 +0,0 @@ -#pragma once - -#include "schema.h" - -namespace saw { -template -struct schema_factory { - using Schema = T; - static_assert(always_false, "Not supported"); -}; - -template -struct schema_factory...>> { - using Schema = schema::Struct...>; - - template - constexpr schema_factory...,schema::Member>> add() const noexcept { - return {}; - } -}; - -template -struct schema_factory...>> { - using Schema = schema::Union...>; - - template - constexpr schema_factory...,schema::Member>> add() const noexcept { - return {}; - } -}; - -template -struct schema_factory> { - using Schema = schema::Tuple; - - template - constexpr schema_factory> add() const noexcept { - return {}; - } -}; - -template -constexpr schema_factory build_schema() noexcept { - return {}; -} -} -- cgit v1.2.3