MySQL 9.6.0
Source Code Documentation
disjoint_pairs.h File Reference

Experimental API header. More...

#include <iterator>
#include <ranges>
#include <utility>
#include "my_compiler.h"
#include "mysql/iterators/iterator_interface.h"
#include "mysql/ranges/collection_interface.h"
#include "mysql/ranges/view_sources.h"

Go to the source code of this file.

Classes

struct  mysql::ranges::detail::Make_pair
 
class  mysql::ranges::Disjoint_pairs_iterator< Source_iterator_tp, Make_pair_tp >
 Iterator used by Disjoint_pairs_interface and Disjoint_pairs_view: this yields the disjoint, adjacent pairs of values from the source iterator. More...
 
class  mysql::ranges::Disjoint_pairs_interface< Self_tp, Make_pair_tp >
 CRTP base used to define classes that yield disjoint, adjacent pairs of elements from an even-length source sequence. More...
 
class  mysql::ranges::Disjoint_pairs_view< Source_tp, Make_pair_tp >
 View over an even-length sequence, yielding the disjoint, adjacent pairs of elements. More...
 

Namespaces

namespace  mysql
 
namespace  mysql::ranges
 
namespace  mysql::ranges::detail
 

Functions

template<class Pair_t = detail::Make_pair, class Iterator_t >
auto mysql::ranges::make_disjoint_pairs_iterator (const Iterator_t &position)
 Factory function to create a Disjoint_pairs_iterator. More...
 
template<class Make_pair_t = detail::Make_pair, class Source_t >
auto mysql::ranges::make_disjoint_pairs_view (const Source_t &source)
 Factory to construct a Disjoint_pairs_view from a given range. More...
 

Detailed Description

Experimental API header.