aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.clangd6
-rw-r--r--lib/include/newtype/newtype.hpp4
2 files changed, 8 insertions, 2 deletions
diff --git a/.clangd b/.clangd
index 8368a45..ba15e35 100644
--- a/.clangd
+++ b/.clangd
@@ -1,2 +1,6 @@
CompileFlags:
- Remove: ["-fmodules-ts", "-fmodule-mapper=*", "-fdeps-format=*"] \ No newline at end of file
+ Remove: ["-fmodules-ts", "-fmodule-mapper=*", "-fdeps-format=*"]
+
+Diagnostics:
+ UnusedIncludes: Strict
+ MissingIncludes: Strict \ No newline at end of file
diff --git a/lib/include/newtype/newtype.hpp b/lib/include/newtype/newtype.hpp
index 2154223..f5dce61 100644
--- a/lib/include/newtype/newtype.hpp
+++ b/lib/include/newtype/newtype.hpp
@@ -7,12 +7,14 @@
#include <algorithm>
#include <compare>
+#include <concepts>
+#include <cstddef>
#include <functional>
+#include <iterator>
#ifdef HAS_I_O_STREAM
#include <istream>
#include <ostream>
#endif
-#include <iterator>
#include <type_traits>
#include <utility>