Class State::MutationProxy

Nested Relationships

This class is a nested type of Template Class State.

Class Documentation

class MutationProxy

A small proxy object for controlling access to state mutation.

Public Functions

inline operator T&()

Get the current value.

Returns:

The current held value

inline T *operator->()

Access the current value in a writable manner.

inline ~MutationProxy()