BDE 4.14.0 Production release
|
#include <bsltf_inputiterator.h>
Static Public Member Functions | |
template<class CONTIGUOUS_CONTAINER > | |
static InputIterator< typename CONTIGUOUS_CONTAINER::value_type > | begin (CONTIGUOUS_CONTAINER &container) |
template<class CONTIGUOUS_CONTAINER > | |
static InputIterator< const typename CONTIGUOUS_CONTAINER::value_type > | begin (const CONTIGUOUS_CONTAINER &container) |
template<class TYPE , std::size_t LEN> | |
static InputIterator< TYPE > | begin (TYPE(&array)[LEN]) |
template<class TYPE , std::size_t LEN> | |
static InputIterator< const TYPE > | begin (const TYPE(&array)[LEN]) |
template<class CONTIGUOUS_CONTAINER > | |
static InputIterator< typename CONTIGUOUS_CONTAINER::value_type > | end (CONTIGUOUS_CONTAINER &container) |
template<class CONTIGUOUS_CONTAINER > | |
static InputIterator< const typename CONTIGUOUS_CONTAINER::value_type > | end (const CONTIGUOUS_CONTAINER &container) |
template<class TYPE , std::size_t LEN> | |
static InputIterator< TYPE > | end (TYPE(&array)[LEN]) |
template<class TYPE , std::size_t LEN> | |
static InputIterator< const TYPE > | end (const TYPE(&array)[LEN]) |
This namespace struct
allows the easy creation of begin
and end
iterators from a variety of contiguous range types. Either the argument must be an array, or a container that supports the following operations:
size()
operator@ref size_t
(if 0 != size())and the type CONTIGUOUS_CONTAINER::value_type
.
|
static |
|
static |
|
inlinestatic |
Return an InputIterator
referring to the first element of the specified container
or a null iterator if container
is empty.
|
static |
Return an InputIterator
referring to the first element of the specified array
.
|
static |
|
static |
|
static |
Return an InputIterator
referring to after the last element of the specified container
or a null iterator if container
is empty.
|
static |
Return an InputIterator
referring to after the last element of the specified array
.