|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
The step of the folds below: insert one element into the container accumulated so far, and hand it on (Rule 3: a fold, not a loop). The element is taken by value and moved in, so a transformed result is moved, not copied (a move-only one included). More...
Public Member Functions | |
| template<dedekind::sets::StdSetLike C> | |
| constexpr C | operator() (C acc, typename C::value_type x) const |
The step of the folds below: insert one element into the container accumulated so far, and hand it on (Rule 3: a fold, not a loop). The element is taken by value and moved in, so a transformed result is moved, not copied (a move-only one included).