summaryrefslogtreecommitdiffhomepage
path: root/compat/macros.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-07-01 18:30:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-07-01 18:30:37 +0200
commit33e902a74465110489c6566f5f0c035ad9432de4 (patch)
treeb2bb4a6d9351100bd2622d221ca1eeda36be9ec7 /compat/macros.hpp
parent15c97dd8ddeba8d0f0e80df39320e3789f3fb4b2 (diff)
compat: drop pre-C++20 macros.hpp header
Diffstat (limited to 'compat/macros.hpp')
-rw-r--r--compat/macros.hpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/compat/macros.hpp b/compat/macros.hpp
deleted file mode 100644
index b6eea12b..00000000
--- a/compat/macros.hpp
+++ /dev/null
@@ -1,17 +0,0 @@
-#pragma once
-
-#include "macros1.h"
-
-#include <utility>
-#include <type_traits>
-
-// before C++20
-namespace cxx20_compat {
- template<typename T>
- struct remove_cvref {
- using type = std::remove_cv_t<std::remove_reference_t<T>>;
- };
-} // ns cxx20_compat
-
-template<typename t>
-using remove_cvref_t = typename cxx20_compat::remove_cvref<t>::type;