We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbb4e6d commit 43f4065Copy full SHA for 43f4065
types.hpp
@@ -30,7 +30,7 @@ concept object_type = std::is_same_v<T, std::nullptr_t> || std::is_same_v<T, boo
30
31
32
template<value_type V>
33
-using object_type_from_value_type = std::conditional_t<V == Null, std::nullptr_t, std::conditional_t<V == Bool, bool, std::conditional_t<V == Int, long long int, std::conditional_t<V == Float, long double, std::conditional_t<V == String, std::string, std::conditional_t<V == Vector, std::vector<object>, std::map<std::string, object>>>>>>>;
+using object_type_from_value_type = std::conditional_t<V == Null, std::nullptr_t, std::conditional_t<V == Bool, bool, std::conditional_t<V == Int, long long int, std::conditional_t<V == Float, long double, std::conditional_t<V == String, std::string, std::conditional_t<V == Vector, std::vector<object>, std::conditional_t<V == Map, std::map<std::string, object>, std::nullptr_t>>>>>>>;
34
35
template<object_type T>
36
value_type value_type_from_object_type();
0 commit comments