Visual Computing Library
Loading...
Searching...
No Matches
vcl::FakePointerWithValue< T > Class Template Reference

A simple utility class to represent a pointer with a value. More...

#include <vclib/types/base.h>

Public Member Functions

 FakePointerWithValue (const T &value)
 
T * operator-> ()
 

Private Attributes

mValue
 

Detailed Description

template<class T>
class vcl::FakePointerWithValue< T >

A simple utility class to represent a pointer with a value.

Useful for iterators that return a pointer to a value, but the value is stored in the iterator itself.


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