Return an InputIterator referring to the first element of the specified container or a null iterator if container is empty.

Synopsis

Declared in <bsltf_inputiterator.h>

template<class CONTIGUOUS_CONTAINER>
static
InputIterator<CONTIGUOUS_CONTAINER::value_type const>
begin(CONTIGUOUS_CONTAINER const& container);

Return Value

an iterator to the first element, or a null iterator if empty

Parameters

Name

Description

container

contiguous container providing the range

Created with MrDocs