2
0
mirror of https://github.com/boostorg/compat.git synced 2026-01-19 16:12:15 +00:00

Remove feature check for variable templates; if we have auto template parameters (C++17) we probably have C++14 as well

This commit is contained in:
Peter Dimov
2025-11-01 19:32:34 +02:00
parent e522245e9c
commit 4c9e9079c1

View File

@@ -26,13 +26,9 @@ template<auto V> struct nontype_t: public detail::nontype11<decltype(V), V>
explicit nontype_t() = default;
};
# if defined(__cpp_variable_templates) && __cpp_variable_templates >= 201304L
template<auto V>
BOOST_INLINE_CONSTEXPR nontype_t<V> nontype {};
# endif
#endif
} // namespace compat