![]() |
CYD-UI
A C++ library for building native graphic user interfaces
|
Public Types | |
using | ret_context_type = ContextType |
using | context_type = std::remove_const_t<ContextType> |
Public Member Functions | |
use_context ()=default | |
use_context (const use_context &other)=delete | |
use_context & | operator= (const use_context &other)=delete |
use_context (use_context &&other) noexcept | |
use_context & | operator= (use_context &&other) |
~use_context () | |
ret_context_type * | operator-> () |
ret_context_type & | operator* () |
void | notify () |
Static Public Attributes | |
static constexpr bool | is_readonly = std::is_const_v<ContextType> |
Friends | |
struct | use_context_delegate |
Definition at line 71 of file component_contexts.cppm.
using cydui::use_context< ContextType >::context_type = std::remove_const_t<ContextType> |
Definition at line 73 of file component_contexts.cppm.
using cydui::use_context< ContextType >::ret_context_type = ContextType |
Definition at line 72 of file component_contexts.cppm.
|
default |
|
delete |
|
inlinenoexcept |
|
inline |
Definition at line 108 of file component_contexts.cppm.
|
inline |
Definition at line 123 of file component_contexts.cppm.
|
inline |
Definition at line 119 of file component_contexts.cppm.
|
inline |
Definition at line 115 of file component_contexts.cppm.
|
delete |
|
inline |
|
friend |
Definition at line 76 of file component_contexts.cppm.
|
staticconstexpr |
Definition at line 74 of file component_contexts.cppm.