diff --git a/src/compat/assumptions.h b/src/compat/assumptions.h --- a/src/compat/assumptions.h +++ b/src/compat/assumptions.h @@ -22,15 +22,11 @@ // Assumption: We assume a C++17 (ISO/IEC 14882:2017) compiler (minimum // requirement). -// Example(s): We use std::make_unique() through the codebase. -// Note: MSVC does not report the expected __cplusplus value due to -// legacy reasons. -#if !defined(_MSC_VER) -// N3936* ยง16.8 [cpp.predefined]/p1:: -// "The name __cplusplus is defined to the value 201402L when compiling a C++ +// Example(s): We assume the presence of C++17 features everywhere :-) +// ISO Standard C++17 [cpp.predefined]p1: +// "The name __cplusplus is defined to the value 201703L when compiling a C++ // translation unit." static_assert(__cplusplus >= 201703L, "C++17 standard assumed"); -#endif // Assumption: We assume the floating-point types to fulfill the requirements of // IEC 559 (IEEE 754) standard.