summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-05-30 21:33:19 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-05-30 21:33:19 +0200
commit7bb7cbe192817f6f5594d3498cb08ef4a655fa79 (patch)
tree16f6afb3e416da7aebaf9afed18ae8c257c4ba14 /compat
parent9826b90805133be9eadd49a6a124bf138a9923ef (diff)
compat/powerset: add missing includes
Diffstat (limited to 'compat')
-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>;