Stores the value of type Hold while providing access via type Provide. More...
#include <RCBits.h>
Public Member Functions | |
HoldRelated (Hold held, Provide give) | |
Stores held, but implicitly casts to related value give. | |
HoldRelated (Hold held) | |
Stores held. Use with Set to set the give value later. | |
void | Set (Provide new_give) |
Sets the implicitly cast value of type Provide to give. | |
operator Provide () | |
Implicitly casts to the give value set. | |
operator const Provide () const | |
Implicitly casts to the give value set. | |
const Provide | Get () const |
Explicitly access the value set as give. | |
Provide | Get () |
Explicitly access the value set as give. | |
const Hold & | Held () const |
Access the full held value. | |
Hold & | Held () |
Access the full held value. | |
Stores the value of type Hold while providing access via type Provide.