We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f8abcb commit f4b7393Copy full SHA for f4b7393
1 file changed
include/json/value.h
@@ -271,8 +271,12 @@ namespace Json {
271
/// Access an array element (zero based index ).
272
/// If the array contains less than index element, then null value are inserted
273
/// in the array so that its size is index+1.
274
+ /// (You may need to say 'value[0u]' to get your compiler to distinguish
275
+ /// this from the operator[] which takes a string.)
276
Value &operator[]( UInt index );
277
/// Access an array element (zero based index )
278
279
280
const Value &operator[]( UInt index ) const;
281
/// If the array contains at least index+1 elements, returns the element value,
282
/// otherwise returns defaultValue.
0 commit comments