NeBuild dev
Loading...
Searching...
No Matches
key.hpp File Reference
#include "source_region.hpp"
#include "std_utility.hpp"
#include "print_to_stream.hpp"
#include "header_start.hpp"
#include "header_end.hpp"

Go to the source code of this file.

Variables

 TOML_NAMESPACE_START
 
template<typename T >
constexpr bool is_key = std::is_same_v<impl::remove_cvref<T>, toml::key>
 Metafunction for determining if a type is, or is a reference to, a toml::key.
 
template<typename T >
constexpr bool is_key_or_convertible
 Metafunction for determining if a type is, or is a reference to, a toml::key, or is implicitly or explicitly convertible to one.
 
 TOML_NAMESPACE_END
 

Variable Documentation

◆ is_key

template<typename T >
constexpr bool is_key = std::is_same_v<impl::remove_cvref<T>, toml::key>
inlineconstexpr

Metafunction for determining if a type is, or is a reference to, a toml::key.

◆ is_key_or_convertible

template<typename T >
constexpr bool is_key_or_convertible
inlineconstexpr
Initial value:
= is_key<T>
|| impl::is_constructible_or_convertible<toml::key, T>

Metafunction for determining if a type is, or is a reference to, a toml::key, or is implicitly or explicitly convertible to one.

◆ TOML_NAMESPACE_END

TOML_NAMESPACE_END

◆ TOML_NAMESPACE_START

TOML_NAMESPACE_START