#include <genesis/utils/core/std.hpp>
Proxy class to hold an element accessible via arrow operator.
This is useful for implementing an iterator whose arrow operator would return an r-value. Inspired by https://stackoverflow.com/a/26496041/4184258
Public Member Functions | |
ArrowOperatorProxy (T const &v) | |
T * | operator-> () const |
|
inlineexplicit |