BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsltf::TestValuesArray_PostIncrementPtr< VALUE > Class Template Reference

#include <bsltf_testvaluesarray.h>

Public Member Functions

 TestValuesArray_PostIncrementPtr (const VALUE *ptr)
 
const VALUE & operator* () const
 

Detailed Description

template<class VALUE>
class bsltf::TestValuesArray_PostIncrementPtr< VALUE >

This class is a wrapper that encapsulates a reference, providing non-modifiable access to the element of TestValuesArray container. Object of this class is returned by post increment operator of TestValuesArray' container.

Constructor & Destructor Documentation

◆ TestValuesArray_PostIncrementPtr()

template<class VALUE >
bsltf::TestValuesArray_PostIncrementPtr< VALUE >::TestValuesArray_PostIncrementPtr ( const VALUE *  ptr)
inlineexplicit

Create a TestValuesArray_PostIncrementPtr object having the value of the specified ptr.

Member Function Documentation

◆ operator*()

template<class VALUE >
const VALUE & bsltf::TestValuesArray_PostIncrementPtr< VALUE >::operator* ( ) const
inline

Return a reference providing non-modifiable access to the object referred to by this wrapper.


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