LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 158 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 161 of file AssociatedData.h.

161 : 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 163 of file AssociatedData.h.

163 { 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

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