cesium-native 0.52.0
Loading...
Searching...
No Matches
CesiumUtility::TransformIterator< TTransformFunction, TIterator >::pointer Struct Reference

A pointer to the type being iterated over. More...

#include <CesiumUtility/TransformIterator.h>

Public Member Functions

value_typeoperator-> ()
 Returns a pointer to the value.
 

Public Attributes

value_type value
 The value pointed to by the pointer.
 

Detailed Description

template<typename TTransformFunction, typename TIterator>
struct CesiumUtility::TransformIterator< TTransformFunction, TIterator >::pointer

A pointer to the type being iterated over.

We can't directly return a pointer to the transformed value from our operator->(), because that's likely to be a temporary. So instead, we wrap it in an instance of this class and rely on C++'s automatic repeated application of operator->().

Definition at line 45 of file TransformIterator.h.

Member Function Documentation

◆ operator->()

template<typename TTransformFunction, typename TIterator>
value_type * CesiumUtility::TransformIterator< TTransformFunction, TIterator >::pointer::operator-> ( )
inline

Returns a pointer to the value.

Definition at line 54 of file TransformIterator.h.

Member Data Documentation

◆ value

template<typename TTransformFunction, typename TIterator>
value_type CesiumUtility::TransformIterator< TTransformFunction, TIterator >::pointer::value

The value pointed to by the pointer.

Definition at line 49 of file TransformIterator.h.


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