CXXIter 0.2
Loading...
Searching...
No Matches
CXXIter::trait::ExactSizeIterator< T > Struct Template Reference

Trait, that extends iterators for which an exact length is known. More...

#include <Traits.h>

Collaboration diagram for CXXIter::trait::ExactSizeIterator< T >:

Static Public Member Functions

static constexpr size_t size (const typename trait::Iterator< T >::Self &self)=delete
 Get the iterator's exact number of elements. More...
 

Detailed Description

template<typename T>
struct CXXIter::trait::ExactSizeIterator< T >

Trait, that extends iterators for which an exact length is known.

Definition at line 63 of file Traits.h.

Member Function Documentation

◆ size()

template<typename T >
static constexpr size_t CXXIter::trait::ExactSizeIterator< T >::size ( const typename trait::Iterator< T >::Self &  self)
inlinestaticconstexprdelete

Get the iterator's exact number of elements.

Parameters
selfReference to the instance of the class for which trait::ExactSizeIterator is being specialized.
Returns
This iterator's exact number of elements.

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