Lumiera  0.pre.03
»edit your freedom«
LazyInit_test::LazyDemo Struct Reference

Description

elaborate setup used for integration test

Definition at line 319 of file lazy-init-test.cpp.

Public Types

using Fun = std::function< int(int)>
 

Public Member Functions

template<typename FUN , typename = disable_if_self<LazyDemo, FUN>>
 LazyDemo (FUN &&someFun)
 
template<typename FUN >
LazyDemo && attach (FUN &&someFun)
 
template<typename FUN >
auto buildInit (FUN &&fun2install)
 
- Public Member Functions inherited from LazyInit<>
 LazyInit (std::function< SIG > &targetFunctor, INI &&initialiser, ARGS &&...parentCtorArgs)
 prepare an initialiser to be activated on first use
 
 LazyInit (LazyInit const &ref)
 
 LazyInit (LazyInit &&rref)
 
void installEmptyInitialiser ()
 
void installInitialiser (std::function< SIG > &targetFunctor, INI &&initialiser)
 
bool isInit () const
 
LazyInitoperator= (LazyInit const &ref)
 
LazyInitoperator= (LazyInit &&rref)
 

Public Attributes

Fun fun
 
int seed {0}
 

Additional Inherited Members

- Protected Member Functions inherited from LazyInit<>
 LazyInit (MarkDisabled, ARGS &&...parentCtorArgs)
 
+ Inheritance diagram for LazyInit_test::LazyDemo:
+ Collaboration diagram for LazyInit_test::LazyDemo:

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