Skip to content

Commit eb9a949

Browse files
author
Jan Bilek
committed
Added typedef alias Value_ for a type with accessible allocator
1 parent 6147e59 commit eb9a949

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/json/value.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,8 @@ class JSON_API ValueIterator : public ValueIteratorBase<_Value> {
885885

886886
typedef detail::Path<detail::Value<>> Path; // class Json::Path
887887
typedef detail::PathArgument<detail::Value<>> PathArgument; // class Json::PathArgument
888+
template<class _Alloc, class _String> // class Json::Value_ type with accessible allocator
889+
using Value_ = Json::detail::Value<_Alloc, _String>;
888890
typedef detail::Value<> Value; // class Json::Value
889891
typedef detail::ValueConstIterator<detail::Value<>> ValueConstIterator; // class Json::ValueConstIterator
890892
typedef detail::ValueIterator<detail::Value<>> ValueIterator; // class Json::ValueIterator

0 commit comments

Comments
 (0)