From 756d2925904ca87266fc30c3d84b9c3682c73fce Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 17 Dec 2021 17:51:32 +0100 Subject: opentrack: kill unfinished obsolete code --- main-window/mixin-traits.hpp | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 main-window/mixin-traits.hpp (limited to 'main-window/mixin-traits.hpp') diff --git a/main-window/mixin-traits.hpp b/main-window/mixin-traits.hpp deleted file mode 100644 index 45df7fdb..00000000 --- a/main-window/mixin-traits.hpp +++ /dev/null @@ -1,42 +0,0 @@ -#pragma once - -#include "compat/meta.hpp" - -#include - -namespace mixins::traits_detail { - - using namespace meta; - - template using tuple = tuple_; - - template - struct mixin_traits { - // implement this! - //using depends = tuple<>; - }; - - template struct check_depends_; - - template - struct check_depends_ : std::true_type - { - }; - - template - struct check_depends_ : - std::bool_constant< - std::is_base_of_v && - lift_v::depends>> && - check_depends_::value - > - { - }; - - template - struct impl - { - static_assert(lift>::value, - "class must inherit dependent mixins"); - }; -} // ns mixins::traits_detail -- cgit v1.2.3