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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user