MySQL 26.7.0
Source Code Documentation
mysql::iterators::Is_declared_legacy_forward_iterator Concept Reference

True if the iterator is declared to meet LegacyForwardIterator requirements. More...

#include <meta.h>

Concept definition

template<class Test>
std::derived_from<typename std::iterator_traits<Test>::iterator_category,
std::forward_iterator_tag>
True if the iterator is declared to meet LegacyForwardIterator requirements.
Definition: meta.h:71

Detailed Description

True if the iterator is declared to meet LegacyForwardIterator requirements.

Note that this does not check the requirements (not even syntactic ones): an iterator that lies about its category will fool this function. However, an iterator defined using Iterator_interface is guaranteed to satisfy the syntactic requirements.