Skip to content

Commit 8efad70

Browse files
committed
check __cplusplus in Platform.hpp
1 parent dc17c5e commit 8efad70

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/mrdox/Platform.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313

1414
#include <type_traits>
1515

16+
#if __cplusplus < 202002L
17+
#error "mrdox requires at least C++20"
18+
#endif
19+
1620
/*
1721
Platform-specific things, and stuff
1822
that is dependent on the toolchain.

0 commit comments

Comments
 (0)