SourcePro® API Reference Guide

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

A base class for RWMathVec iterators. More...

#include <rw/math/mathvec.h>

Inheritance diagram for RWMathVecIteratorBase< T >:
RWMathVecConstIterator< T > RWMathVecIterator< T >

Friends

std::strong_ordering operator<=> (const RWMathVecIteratorBase &lhs, const RWMathVecIteratorBase &rhs)
 
bool operator== (const RWMathVecIteratorBase &lhs, const RWMathVecIteratorBase &rhs)
 

Detailed Description

template<class T>
class RWMathVecIteratorBase< T >

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

Friends And Related Symbol Documentation

◆ operator<=>

template<class T >
std::strong_ordering operator<=> ( const RWMathVecIteratorBase< T > & lhs,
const RWMathVecIteratorBase< 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 RWMathVecIteratorBase< T > & lhs,
const RWMathVecIteratorBase< T > & rhs )
friend

Returns true if the RWMathVecIteratorBase 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.