AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
aui::lazy< void > Struct Reference

A value that initializes when accessed for the first time. More...

Detailed Description

A value that initializes when accessed for the first time.

Template Parameters
T

Public Member Functions

template<typename Factory , std::enable_if_t< std::is_invocable_r_v< void, Factory >, bool > = true>
 lazy (Factory &&initializer) noexcept
 
 lazy (const lazy< void > &other) noexcept
 
 lazy (lazy< void > &&other) noexcept
 
void get ()
 
void get () const
 
void operator* ()
 
const void operator* () const
 
void reset ()
 
bool hasValue () const noexcept
 

#include <AUI/Traits/values.h>


The documentation for this struct was generated from the following file: