This is a collection with unique-ownership, and the ability to create all content objects in ''RAII style'' from the constructor call, using a ''population functor''. It is often used to maintain a collection of resource handles, and especially to start a series of threads (for testing). With the variadic λ-captures from C++20, it is possible to rewrite the most frequently used population functors to be easier to use. Notably we can now bind constructor arguments, that will be passed to each of the created elements — a prominent example being the thread function when launching several threads. Furthermore, I added a constructor variant that consumes a Lumiera Iterator. Adding this kind of generic variants is possible now with C++20, since overload resolution takes concepts into account. |
||
|---|---|---|
| .. | ||
| build | ||
| code | ||
| howto | ||
| infra | ||
| library | ||
| stage | ||
| steam | ||
| vault | ||
| DIR_INFO | ||
| index.txt | ||
| overview.txt | ||