Add inline namespace

This commit is contained in:
Franz Pöschel
2025-05-16 15:03:29 +02:00
parent a01fe3b4c1
commit 5b3d75e2db
51 changed files with 289 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
#include <toml11/context.hpp>
#include <toml11/types.hpp>
#include <toml11/version.hpp>
#if ! defined(TOML11_COMPILE_SOURCES)
#error "Define `TOML11_COMPILE_SOURCES` before compiling source code!"
@@ -7,9 +8,12 @@
namespace toml
{
inline namespace TOML11_INLINE_VERSION_NAMESPACE
{
namespace detail
{
template class context<::toml::type_config>;
template class context<::toml::ordered_type_config>;
} // detail
} // TOML11_INLINE_VERSION_NAMESPACE
} // toml