![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
Destination parameter type that can be passed to ReadField function as an alternative to ReadDestEmplace. More...
#include <proxy-types.h>
Public Member Functions | |
| ReadDestUpdate (Value &value) | |
| template<typename UpdateFn > | |
| Value & | update (UpdateFn &&update_fn) |
| Simple case. If ReadField works by calling update() just forward arguments to update_fn. More... | |
| template<typename... Args> | |
| Value & | construct (Args &&... args) |
| More complicated case. More... | |
Public Attributes | |
| Value & | m_value |
Destination parameter type that can be passed to ReadField function as an alternative to ReadDestEmplace.
Instead of requiring an emplace callback to construct a new value, it just takes a reference to an existing value and assigns a new value to it.
Definition at line 144 of file proxy-types.h.
|
inline |
Definition at line 146 of file proxy-types.h.
|
inline |
More complicated case.
If ReadField works by calling construct(), need to reconstruct m_value in place.
Definition at line 159 of file proxy-types.h.
|
inline |
Simple case. If ReadField works by calling update() just forward arguments to update_fn.
Definition at line 150 of file proxy-types.h.
| Value& mp::ReadDestUpdate< Value >::m_value |
Definition at line 166 of file proxy-types.h.