diff --git a/toml/get.hpp b/toml/get.hpp index 1820585..c2aece5 100644 --- a/toml/get.hpp +++ b/toml/get.hpp @@ -154,7 +154,7 @@ template, // T is container detail::has_resize_method, // T::resize(N) works detail::negation> // but not toml::array - >::value, std::nullptr_t>::type = nullptr> + >::value, std::nullptr_t>::type> T get(const value& v) { using value_type = typename T::value_type; @@ -173,7 +173,7 @@ template, // T is container detail::negation>, // no T::resize() exists detail::negation> // not toml::array - >::value, std::nullptr_t>::type = nullptr> + >::value, std::nullptr_t>::type> T get(const value& v) { using value_type = typename T::value_type; @@ -195,7 +195,7 @@ T get(const value& v) // std::pair. template::value, std::nullptr_t>::type = nullptr> + detail::is_std_pair::value, std::nullptr_t>::type> T get(const value& v) { using first_type = typename T::first_type; @@ -228,7 +228,7 @@ T get_tuple_impl(const toml::Array& a, index_sequence) } // detail template::value, std::nullptr_t>::type = nullptr> + detail::is_std_tuple::value, std::nullptr_t>::type> T get(const value& v) { const auto& ar = v.cast(); @@ -249,7 +249,7 @@ T get(const value& v) template, // T is map detail::negation> // but not toml::table - >::value, std::nullptr_t>::type = nullptr> + >::value, std::nullptr_t>::type> T get(const toml::value& v) { using key_type = typename T::key_type;