diff --git a/toml/traits.hpp b/toml/traits.hpp index a994d6d..e2036eb 100644 --- a/toml/traits.hpp +++ b/toml/traits.hpp @@ -166,6 +166,15 @@ template struct is_container : is_container{}; template struct is_container : is_container{}; template struct is_container : is_container{}; +template +struct is_basic_value: std::false_type{}; +template struct is_basic_value : is_basic_value{}; +template struct is_basic_value : is_basic_value{}; +template struct is_basic_value : is_basic_value{}; +template struct is_basic_value : is_basic_value{}; +template class M, template class V> +struct is_basic_value<::toml::basic_value>: std::true_type{}; + // --------------------------------------------------------------------------- // C++14 index_sequence