MySQL 9.6.0
Source Code Documentation
std::pointer_traits< Iterator_t > Struct Template Reference

Specialization of the standard library customization point std::pointer_traits, to subclasses of Iterator_interface which declare themselves to be contiguous iterators. More...

#include <iterator_interface.h>

Public Types

using pointer = decltype(std::declval< Iterator_t >().operator->())
 
using element_type = decltype(std::declval< Iterator_t >().operator*())
 
using difference_type = std::ptrdiff_t
 
template<class Other >
using rebind = Other *
 

Static Public Member Functions

static pointer pointer_to (element_type &r)
 

Detailed Description

template<class Iterator_t>
requires std::derived_from< Iterator_t, mysql::iterators::Iterator_interface<Iterator_t>> && mysql::iterators::Is_legacy_contiguous_iterator_impl<Iterator_t>
struct std::pointer_traits< Iterator_t >

Specialization of the standard library customization point std::pointer_traits, to subclasses of Iterator_interface which declare themselves to be contiguous iterators.

Member Typedef Documentation

◆ difference_type

template<class Iterator_t >
using std::pointer_traits< Iterator_t >::difference_type = std::ptrdiff_t

◆ element_type

template<class Iterator_t >
using std::pointer_traits< Iterator_t >::element_type = decltype(std::declval<Iterator_t>().operator*())

◆ pointer

template<class Iterator_t >
using std::pointer_traits< Iterator_t >::pointer = decltype(std::declval<Iterator_t>().operator->())

◆ rebind

template<class Iterator_t >
template<class Other >
using std::pointer_traits< Iterator_t >::rebind = Other *

Member Function Documentation

◆ pointer_to()

template<class Iterator_t >
static pointer std::pointer_traits< Iterator_t >::pointer_to ( element_type r)
inlinestatic

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