SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
RWMathArrayIteratorBase< T > Class Template Reference

A base class for RWMathArray iterators. More...

#include <rw/math/mtharray.h>

Inheritance diagram for RWMathArrayIteratorBase< T >:
RWMathArrayConstIterator< T > RWMathArrayIterator< T >

Public Types

typedef RWMathArray< T >::const_pointer const_pointer
 
typedef RWMathArray< T >::difference_type difference_type
 
typedef RWMathArray< T >::value_type value_type
 

Friends

std::strong_ordering operator<=> (const RWMathArrayIteratorBase &lhs, const RWMathArrayIteratorBase &rhs)
 
bool operator== (const RWMathArrayIteratorBase &lhs, const RWMathArrayIteratorBase &rhs)
 
class RWMathArray< T >
 

Detailed Description

template<class T>
class RWMathArrayIteratorBase< T >

A base class from which the iterators for RWMathArray are derived.

Member Typedef Documentation

◆ const_pointer

template<class T >
typedef RWMathArray<T>::const_pointer RWMathArrayIteratorBase< T >::const_pointer

Typedef for a const pointer to a value in this container.

◆ difference_type

template<class T >
typedef RWMathArray<T>::difference_type RWMathArrayIteratorBase< T >::difference_type

Typedef for the type of result from subtracting two iterators obtained from this container.

◆ value_type

template<class T >
typedef RWMathArray<T>::value_type RWMathArrayIteratorBase< T >::value_type

Typedef for the type of elements in this container.

Friends And Related Symbol Documentation

◆ operator<=>

template<class T >
std::strong_ordering operator<=> ( const RWMathArrayIteratorBase< T > & lhs,
const RWMathArrayIteratorBase< T > & rhs )
friend

Performs a comparison of the relative logical position represented by lhs to rhs.

Note
If a compiler does not support rewritten expressions (i.e. before C++20), comparison operators are explicitly implemented to provide equivalent behavior.

◆ operator==

template<class T >
bool operator== ( const RWMathArrayIteratorBase< T > & lhs,
const RWMathArrayIteratorBase< T > & rhs )
friend

Returns true if the RWMathArrayIteratorBase objects lhs and rhs point to the same element. Otherwise, return false.

Note
If a compiler does not support rewritten expressions (i.e. before C++20), equality operators are explicitly implemented to provide equivalent behavior.

Copyright © 2025 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.