MySQL 9.0.0
Source Code Documentation
IteratorContainer< IteratorType > Class Template Reference

Adds a collection interface on top of an iterator. More...

#include <intrusive_list_iterator.h>

Public Types

using Type = typename IteratorType::value_type
 

Public Member Functions

 IteratorContainer (Type first)
 
IteratorType begin ()
 
IteratorType end ()
 

Private Attributes

Type m_first
 

Detailed Description

template<typename IteratorType>
class IteratorContainer< IteratorType >

Adds a collection interface on top of an iterator.

The iterator must support a default constructor constructing a past-the-end iterator.

Template Parameters
IteratorTypeThe iterator's class.

Member Typedef Documentation

◆ Type

template<typename IteratorType >
using IteratorContainer< IteratorType >::Type = typename IteratorType::value_type

Constructor & Destructor Documentation

◆ IteratorContainer()

template<typename IteratorType >
IteratorContainer< IteratorType >::IteratorContainer ( Type  first)
inlineexplicit

Member Function Documentation

◆ begin()

template<typename IteratorType >
IteratorType IteratorContainer< IteratorType >::begin ( void  )
inline

◆ end()

template<typename IteratorType >
IteratorType IteratorContainer< IteratorType >::end ( void  )
inline

Member Data Documentation

◆ m_first

template<typename IteratorType >
Type IteratorContainer< IteratorType >::m_first
private

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