@@ -304,7 +304,7 @@ Value<_Traits, _Alloc>::Value(const char* beginValue, const char* endValue) {
304
304
}
305
305
306
306
template <typename _Traits, typename _Alloc>
307
- Value<_Traits, _Alloc>::Value(const std::basic_string<Value<_Traits, _Alloc>::value_type, Value<_Traits, _Alloc>::traits_type, Value<_Traits, _Alloc>::allocator_type>& value) {
307
+ Value<_Traits, _Alloc>::Value(const std::basic_string<typename Value<_Traits, _Alloc>::value_type, typename Value<_Traits, _Alloc>::traits_type, typename Value<_Traits, _Alloc>::allocator_type>& value) {
308
308
initBasic (stringValue, true );
309
309
value_.stringDuplicate_ =
310
310
duplicateAndPrefixStringValue (value.data (), static_cast <unsigned >(value.length ()));
@@ -1072,7 +1072,7 @@ const Value<_Traits, _Alloc>& Value<_Traits, _Alloc>::operator[](const char* key
1072
1072
return *found;
1073
1073
}
1074
1074
template <typename _Traits, typename _Alloc>
1075
- Value<_Traits, _Alloc> const & Value<_Traits, _Alloc>::operator [](Value<_Traits, _Alloc>::string_type const & key) const
1075
+ Value<_Traits, _Alloc> const & Value<_Traits, _Alloc>::operator [](typename Value<_Traits, _Alloc>::string_type const & key) const
1076
1076
{
1077
1077
Value<_Traits, _Alloc> const * found = find (key.data (), key.data () + key.length ());
1078
1078
if (!found) return nullRef;
@@ -1085,7 +1085,7 @@ Value<_Traits, _Alloc>& Value<_Traits, _Alloc>::operator[](const char* key) {
1085
1085
}
1086
1086
1087
1087
template <typename _Traits, typename _Alloc>
1088
- Value<_Traits, _Alloc>& Value<_Traits, _Alloc>::operator [](const Value<_Traits, _Alloc>::string_type& key) {
1088
+ Value<_Traits, _Alloc>& Value<_Traits, _Alloc>::operator [](const typename Value<_Traits, _Alloc>::string_type& key) {
1089
1089
return resolveReference (key.data (), key.data () + key.length ());
1090
1090
}
1091
1091
@@ -1123,7 +1123,7 @@ Value<_Traits, _Alloc> Value<_Traits, _Alloc>::get(char const* key, Value<_Trait
1123
1123
return get (key, key + strlen (key), defaultValue);
1124
1124
}
1125
1125
template <typename _Traits, typename _Alloc>
1126
- Value<_Traits, _Alloc> Value<_Traits, _Alloc>::get(Value<_Traits, _Alloc>::string_type const & key, Value<_Traits, _Alloc> const & defaultValue) const
1126
+ Value<_Traits, _Alloc> Value<_Traits, _Alloc>::get(typename Value<_Traits, _Alloc>::string_type const & key, Value<_Traits, _Alloc> const & defaultValue) const
1127
1127
{
1128
1128
return get (key.data (), key.data () + key.length (), defaultValue);
1129
1129
}
@@ -1149,7 +1149,7 @@ bool Value<_Traits, _Alloc>::removeMember(const char* key, Value<_Traits, _Alloc
1149
1149
return removeMember (key, key + strlen (key), removed);
1150
1150
}
1151
1151
template <typename _Traits, typename _Alloc>
1152
- bool Value<_Traits, _Alloc>::removeMember(Value<_Traits, _Alloc>::string_type const & key, Value<_Traits, _Alloc>* removed)
1152
+ bool Value<_Traits, _Alloc>::removeMember(typename Value<_Traits, _Alloc>::string_type const & key, Value<_Traits, _Alloc>* removed)
1153
1153
{
1154
1154
return removeMember (key.data (), key.data () + key.length (), removed);
1155
1155
}
@@ -1166,7 +1166,7 @@ Value<_Traits, _Alloc> Value<_Traits, _Alloc>::removeMember(const char* key)
1166
1166
return removed; // still null if removeMember() did nothing
1167
1167
}
1168
1168
template <typename _Traits, typename _Alloc>
1169
- Value<_Traits, _Alloc> Value<_Traits, _Alloc>::removeMember(const Value<_Traits, _Alloc>::string_type& key)
1169
+ Value<_Traits, _Alloc> Value<_Traits, _Alloc>::removeMember(const typename Value<_Traits, _Alloc>::string_type& key)
1170
1170
{
1171
1171
return removeMember (key.c_str ());
1172
1172
}
@@ -1215,7 +1215,7 @@ bool Value<_Traits, _Alloc>::isMember(char const* key) const
1215
1215
return isMember (key, key + strlen (key));
1216
1216
}
1217
1217
template <typename _Traits, typename _Alloc>
1218
- bool Value<_Traits, _Alloc>::isMember(Value<_Traits, _Alloc>::string_type const & key) const
1218
+ bool Value<_Traits, _Alloc>::isMember(typename Value<_Traits, _Alloc>::string_type const & key) const
1219
1219
{
1220
1220
return isMember (key.data (), key.data () + key.length ());
1221
1221
}
0 commit comments