|
| template<typename... Args> |
| constexpr | observed (Args &&...args) noexcept |
| | Construct the shared state and initialize the value.
|
| void const * | get () const noexcept override |
| | Get a pointer to the current value.
|
| void * | get () noexcept override |
| | Get a pointer to the current value.
|
|
| observed_base (observed_base const &)=delete |
|
| observed_base (observed_base &&)=delete |
|
observed_base & | operator= (observed_base const &)=delete |
|
observed_base & | operator= (observed_base &&)=delete |
◆ observed()
template<std::equality_comparable T>
template<typename... Args>
Construct the shared state and initialize the value.
- Parameters
-
| args | The arguments passed to the constructor of the value. |
◆ get() [1/2]
template<std::equality_comparable T>
|
|
inlinenodiscardoverridevirtualnoexcept |
Get a pointer to the current value.
- Returns
- A const pointer to the value. The observer should cast this to a pointer to the value-type.
Implements hi::v1::observed_base.
◆ get() [2/2]
template<std::equality_comparable T>
|
|
inlinenodiscardoverridevirtualnoexcept |
Get a pointer to the current value.
- Returns
- A pointer to the value. The observer should cast this to a pointer to the value-type.
Implements hi::v1::observed_base.
The documentation for this class was generated from the following file: