#ifndef BOOST_COMPAT_NONTYPE_HPP_INCLUDED #define BOOST_COMPAT_NONTYPE_HPP_INCLUDED // Copyright 2024 Christian Mazakas // Copyright 2025 Peter Dimov // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt #include namespace boost { namespace compat { namespace detail { template struct nttp_holder { }; } // namespace detail #if defined(__cpp_nontype_template_parameter_auto) && __cpp_nontype_template_parameter_auto >= 201606L template struct nontype_t: public detail::nttp_holder { explicit nontype_t() = default; }; template BOOST_INLINE_CONSTEXPR nontype_t nontype {}; #endif } // namespace compat } // namespace boost #endif // BOOST_COMPAT_NONTYPE_HPP_INCLUDED