summaryrefslogtreecommitdiffhomepage
path: root/compat/powerset.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/powerset.hpp')
-rw-r--r--compat/powerset.hpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/compat/powerset.hpp b/compat/powerset.hpp
index b23eecdc..ad7b07b0 100644
--- a/compat/powerset.hpp
+++ b/compat/powerset.hpp
@@ -1,5 +1,14 @@
#pragma once
+#include <type_traits>
+#include <cinttypes>
+#include <vector>
+#include <array>
+#include <iterator>
+
+#include <QString>
+#include <QVariant>
+
template<typename t, int M, typename size_type_ = std::uintptr_t>
struct powerset final
{
@@ -55,8 +64,7 @@ private:
};
template<typename t, typename... xs>
-static auto
-make_powerset(const t& arg, const xs&... args)
+auto make_powerset(const t& arg, const xs&... args)
{
using cnt = std::integral_constant<std::uintptr_t, sizeof...(xs)+1>;
using p = powerset<t, cnt::value>;