Public Member Functions | Private Attributes | List of all members
proxy::details::IteratorWrapperBase< Iter, DataIter, ValueType >::ValuePtr< Value > Class Template Reference

Value box for use with pointer dereference operator->(). More...

Public Member Functions

 ValuePtr (Value const &value)
 
auto operator-> () const -> decltype(auto)
 Access the contained value via its pointer. More...
 

Private Attributes

Value value
 Value to return the address of (may be reference). More...
 

Detailed Description

template<typename Iter, typename DataIter, typename ValueType = typename DataIter::value_type>
template<typename Value>
class proxy::details::IteratorWrapperBase< Iter, DataIter, ValueType >::ValuePtr< Value >

Value box for use with pointer dereference operator->().

Definition at line 160 of file AssociatedData.h.

Constructor & Destructor Documentation

template<typename Iter, typename DataIter, typename ValueType = typename DataIter::value_type>
template<typename Value >
proxy::details::IteratorWrapperBase< Iter, DataIter, ValueType >::ValuePtr< Value >::ValuePtr ( Value const &  value)
inline

Definition at line 163 of file AssociatedData.h.

163 : value(value) {}
Value value
Value to return the address of (may be reference).

Member Function Documentation

template<typename Iter, typename DataIter, typename ValueType = typename DataIter::value_type>
template<typename Value >
auto proxy::details::IteratorWrapperBase< Iter, DataIter, ValueType >::ValuePtr< Value >::operator-> ( ) const -> decltype(auto)
inline

Access the contained value via its pointer.

Definition at line 165 of file AssociatedData.h.

166  { return std::addressof(value); }
Value value
Value to return the address of (may be reference).

Member Data Documentation

template<typename Iter, typename DataIter, typename ValueType = typename DataIter::value_type>
template<typename Value >
Value proxy::details::IteratorWrapperBase< Iter, DataIter, ValueType >::ValuePtr< Value >::value
private

Value to return the address of (may be reference).

Definition at line 161 of file AssociatedData.h.


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