Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
RunInConstruct Class Reference

Runs some code in the constructor. More...

#include <test_main.hxx>

Public Member Functions

 RunInConstruct (std::function< void()> f)
 

Detailed Description

Runs some code in the constructor.

Useful if custom code needs to be injected into the constructor initialization order.

Definition at line 197 of file test_main.hxx.

Constructor & Destructor Documentation

◆ RunInConstruct()

RunInConstruct::RunInConstruct ( std::function< void()>  f)
inline

Definition at line 200 of file test_main.hxx.


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