Standard C++ Library Reference ISO/IEC (VERSION3)
of the length of the controlled sequence.
Container::size_type
typedef T0 size_type;
The unsigned integer type describes an object that can represent the length of any controlled
sequence. It is described here as a synonym for the unspecified type T0 (typically
Alloc::size_type).
Container::swap
void swap(Container& right);
The member function swaps the controlled sequences between *this and right. If
get_allocator() == right.get_allocator(), it does so in constant time.
Otherwise, it performs a number of element assignments and constructor calls proportional to
the number of elements in the two controlled sequences.
Container::value_type
typedef T4 value_type;
The type is a synonym for the template parameter Ty. It is described here as a synonym for the
unspecified type T4 (typically Alloc::value_type).
operator!=
template<class Ty>
bool operator!=(
const Container <Ty>& left,
const Container <Ty>& right);
The template function returns !(left == right).
operator==
template<class Ty>
bool operator==(
const Container <Ty>& left,
const Container <Ty>& right);
The template function overloads operator== to compare two objects of template class
Container. The function returns left.size() == right.size() &&
equal(left. begin(), left. end(), right.begin()).