SourcePro® API Reference Guide

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

The base class for RWGenMat iterators. More...

#include <rw/math/genmat.h>

Inheritance diagram for RWGenMatIteratorBase< T >:
RWGenMatConstIterator< T > RWGenMatIterator< T >

Public Types

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

Friends

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

Detailed Description

template<class T>
class RWGenMatIteratorBase< T >

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

Member Typedef Documentation

◆ const_pointer

template<class T >
typedef RWGenMat<T>::const_pointer RWGenMatIteratorBase< T >::const_pointer

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

◆ difference_type

template<class T >
typedef RWGenMat<T>::difference_type RWGenMatIteratorBase< T >::difference_type

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

◆ value_type

template<class T >
typedef RWGenMat<T>::value_type RWGenMatIteratorBase< 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 RWGenMatIteratorBase< T > & lhs,
const RWGenMatIteratorBase< 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 RWGenMatIteratorBase< T > & lhs,
const RWGenMatIteratorBase< T > & rhs )
friend

Returns true if the RWGenMatIteratorBase objects lhs and rhs point to the same element. Otherwise, returns 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.