This type is designed to replicate much of the standard sequence container interface, eliding interfaces that are less relevant for a non‐generic container. Note that a bsl::vector is chosen for the implementation because our implementation permits the element type to be incomplete (when just spelling the type name).
Synopsis
Declared in <bdljsn_json.h>
class JsonArray;
Type Aliases
Name |
Description |
This |
|
This |
|
This |
|
This |
|
This |
|
This |
|
This |
|
This |
|
This |
Member Functions
Name |
Description |
|
Constructors |
Assignment operators |
|
Return the allocator used by this object to allocate memory. |
|
|
|
|
|
|
|
Return an iterator providing non‐modifiable access to the first element in this |
|
Return the past‐the‐end iterator providing non‐modifiable access to this |
|
Remove all elements from this |
|
Return |
|
|
|
|
|
|
|
|
|
Return a theoretical upper bound on the largest number of elements that this |
|
Subscript operators |
|
Erase the last element from this |
|
Write the value of this object to the specified output |
|
|
|
|
|
Return the number of elements in this |
|
Exchange the value of this object with that of the specified |
|
|
Process the specified |
Friends
Name |
Description |
Exchange the value of the specified |
|
Return |
|
Return |
Non-Member Functions
Name |
Description |
Return |
|
Return |
Created with MrDocs