dune-common 2.10
|
Helper to mimic a pointer for proxy objects. More...
#include <dune/common/iteratorfacades.hh>
Public Member Functions | |
constexpr | ProxyArrowResult (ProxyType &&p) noexcept(std::is_nothrow_constructible_v< ProxyType, ProxyType && >) |
constexpr | ProxyArrowResult (const ProxyType &p) noexcept(std::is_nothrow_constructible_v< ProxyType, const ProxyType & >) |
constexpr const ProxyType * | operator-> () const noexcept |
constexpr ProxyType * | operator-> () noexcept |
Helper to mimic a pointer for proxy objects.
This class is intended to be used as return type for operator-> on an iterator using proxy-values. It stores the proxy value and forwards operator-> to the address of this value. In particular it can be passed to IteratorFacade when creating proxy iterators.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |