Aria 2.0.0
C++23 MVVM framework (C++20 minimum) — reactive, coroutine-first, ABI-layered
Loading...
Searching...
No Matches
aria::testing::detail Namespace Reference

Classes

struct  EventLog
 Tiny event log used by every conformance probe. More...

Functions

template<typename L, typename Factory>
auto build (Factory &f)
 Helper: most generic factory accepts a closure producing a shared_ptr<L>.

Function Documentation

◆ build()

template<typename L, typename Factory>
auto aria::testing::detail::build ( Factory & f)
nodiscard

Helper: most generic factory accepts a closure producing a shared_ptr<L>.

We fall back to make_shared<L>() when L is default-constructible.