A toolkit for working with phylogenetic data.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ArrowOperatorProxy< T > Class Template Reference

#include <genesis/utils/core/std.hpp>

Detailed Description

template<typename T>
class genesis::utils::ArrowOperatorProxy< T >

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

Definition at line 80 of file std.hpp.

Public Member Functions

 ArrowOperatorProxy (T const &t)
T * operator-> () const

Constructor & Destructor Documentation

ArrowOperatorProxy ( T const &  t)

Definition at line 83 of file std.hpp.

Member Function Documentation

T* operator-> ( ) const

Definition at line 87 of file std.hpp.

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