cxxomfort  rel.20210622
Simple backports for C++ - http://ryan.gulix.cl/fossil.cgi/cxxomfort/
is_contiguous_access_iterator< Iterator, Tag > Struct Template Reference

Tags an iterator as a contiguous access type iterator. More...

Detailed Description

template<typename Iterator, typename Tag = typename std::iterator_traits<Iterator>::iterator_category>
struct cxxomfort::fix::is_contiguous_access_iterator< Iterator, Tag >

Tags an iterator as a contiguous access type iterator.

Given an iterator type I, indicates whether the type either:

Pre C++17, this can only be implemented as an heuristic and can not determine contiguousness of storage types where the iterator is being wrapped, in which cases it will always declare false .

One such example is <array> and <vector> iterators in MSVC, in versions that don't support disabling the debug iterator mode.


The documentation for this struct was generated from the following file: