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 --- src/set.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/set.h (limited to 'src/set.h') diff --git a/src/set.h b/src/set.h new file mode 100644 index 0000000..ffbcbd6 --- /dev/null +++ b/src/set.h @@ -0,0 +1,19 @@ +#include + +namespace erebos { + +struct SetItem +{ + static SetItem load(const Ref &); + Ref store(const Storage & st) const; + + const vector> prev; + const vector item; +}; + +struct SetBase::Priv +{ + vector> items; +}; + +} -- cgit v1.2.3