From 4d82c7e2704c035e33b9b606c409e5fac0f4f708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sun, 9 Oct 2022 23:02:54 +0200 Subject: Stored set --- include/erebos/merge.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/erebos/merge.h (limited to 'include/erebos/merge.h') diff --git a/include/erebos/merge.h b/include/erebos/merge.h new file mode 100644 index 0000000..bef8212 --- /dev/null +++ b/include/erebos/merge.h @@ -0,0 +1,20 @@ +#pragma once + +#include + +namespace erebos +{ + +template struct Mergeable +{ +}; + +template<> struct Mergeable>> +{ + using Component = Object; + + static vector> components(const vector> & x) { return x; } + static vector> merge(const vector> & x) { return x; } +}; + +} -- cgit v1.2.3