MySQL 9.6.0
Source Code Documentation
mysql::sets::Is_getter_for_iterator Concept Reference

True if Test is a getter for Iterator_t, i.e., Test::get(Iterator_t) is defined. More...

#include <upper_lower_bound_interface.h>

Concept definition

template<class Test, class Iterator_t>
requires(Iterator_t iterator) { Test::get(iterator); }
True if Test is a getter for Iterator_t, i.e., Test::get(Iterator_t) is defined.
Definition: upper_lower_bound_interface.h:99
static mysql_service_status_t get(THD **thd) noexcept
Definition: mysql_current_thread_reader_all_empty.cc:31

Detailed Description

True if Test is a getter for Iterator_t, i.e., Test::get(Iterator_t) is defined.

An iterator getter returns a a value from an iterator. This is useful in generic code that may need to either extract the value from an iterator over a sequence container such as std::vector, or extract just the key or just the mapped value from an iterator over an associative container such as std::map.

See also
Upper_lower_bound_interface