From 03259e2003edf3c65cf9d40c6f956194da33b9d6 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Sat, 25 Dec 2021 14:08:55 +0900 Subject: [PATCH] fix #177: check specific conversion function when converting toml::value to array-like --- toml/get.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/toml/get.hpp b/toml/get.hpp index d7fdf55..901790b 100644 --- a/toml/get.hpp +++ b/toml/get.hpp @@ -215,6 +215,7 @@ template, // T is a container detail::negation>, // w/o push_back(...) + detail::negation>, // T does not have special conversion detail::negation< // not toml::array detail::is_exact_toml_type>> >::value, T> @@ -324,6 +325,7 @@ template, // T is a container detail::negation>, // w/o push_back + detail::negation>, // T does not have special conversion detail::negation< // T is not toml::array detail::is_exact_toml_type>> >::value, T>