From 5a0b3927a33807cca4c77c40eb873f8a3b51b0b0 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 29 Apr 2023 19:07:11 +0100 Subject: Drop .hpp for header only things Half of them acquired a .cpp part anyway --- test/enumDetailsData.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/enumDetailsData.h (limited to 'test/enumDetailsData.h') diff --git a/test/enumDetailsData.h b/test/enumDetailsData.h new file mode 100644 index 0000000..713d742 --- /dev/null +++ b/test/enumDetailsData.h @@ -0,0 +1,20 @@ +#pragma once +#include + +enum GlobalUnscoped { aa, b, c }; +enum class GlobalScoped { aa, b, c }; +namespace ns { + enum Unscoped { aa, b, c }; + enum class Scoped { aa, b, c }; +} +namespace test1 { + enum class DefaultDense { a, bee, ci, de }; +} +namespace test2 { + enum class NumberedSparse { a = 0, bee = 3, ci = -20, de = 100 }; +} + +template<> struct EnumValueCollection { + // Any ordered integer_sequence which includes all enumeration values + using Vs = std::integer_sequence; +}; -- cgit v1.2.3