A::value_type
The type of the elements of the container.
A::iterator
An iterator that points to the Container's elements.
A::const_iterator
An iterator that points to the Container's elements. This iterator can not be used to modify the value it points to.
A | A type that is a model of Container | |
a,b | objects of type A |
X(a)
Return type: | X | |
Semantics: | X() contains a copy of each element of a |
X b(a)
Semantics: | b contains a copy of each element of a |
a=b
Return type: | X | |
Semantics: | b contains a copy of each element of a |
a.begin()
Return type: | iterator if the container is mutable (i.e. can be written to), or const_iterator if the container is read-only. | |
Semantics: | returns an iterator pointing to the first element of the Container |
a.end()
Return type: | iterator if the container is mutable, otherwise const_iterator | |
Semantics: | returns an iterator pointing to one past the last element of the Container |
a.size()
Return type: | a type that represents a positive integer | |
Semantics: | returns the number of elements in the Container |
a.empty()
Return type: | a type that is convertible to bool | |
Semantics: | returns ``true'' if the size of the Container is 0 |