Iterator for C-string arrays frequently used in system programming. Array is assumed to terminate with null pointer.
public std::iterator< std::bidirectional_iterator_tag, T >operator<=(const cstring_iterator & rhs) const -> boolCompare iterator pointers.
operator>(const cstring_iterator & rhs) const -> boolCompare iterator pointers.
operator>=(const cstring_iterator & rhs) const -> boolCompare iterator pointers.
operator<(const cstring_iterator & rhs) const -> boolCompare iterator pointers.
operator[](size_type n) -> value_type &Access object by index.
operator[](size_type n) const -> const value_type &Access object by index.
operator-=(difference_type n) -> cstring_iterator &Subtract in-place.
operator+=(difference_type n) -> cstring_iterator &Add in-place.
operator--(int) -> cstring_iteratorPost-decrement.
operator--() -> cstring_iterator &Decrement.
operator++(int) -> cstring_iteratorPost-increment.
operator++() -> cstring_iterator &Increment.
operator->() -> pointerAccess object by pointer.
operator->() const -> const_pointerAccess object by pointer.
operator*() -> referenceDereference.
operator*() const -> const_referenceDereference.
operator!=(const cstring_iterator & rhs) const -> boolReturns false, if both iterators use the same string.
operator==(const cstring_iterator & rhs) const -> boolReturns true, if both iterators use the same string.
operator=(const cstring_iterator &) -> cstring_iterator &Assignment operator.
~cstring_iterator()cstring_iterator(cstring_iterator &&)Move-constructor.
cstring_iterator(const cstring_iterator &)Copy-constructor.
cstring_iterator()cstring_iterator(pointer ptr)explicit
Construct C-string iterator from string pointed by ptr.