|
JH-Toolkit v1.4.1
An engineering-oriented C++20 toolkit with duck-typed concepts, static design, async coroutines, and semantic containers — header-only, RTTI-free, and concurrency-friendly.
|
Function object implementing jh::ranges::collect.
More...
#include <jh/ranges/collect.h>
Function object implementing jh::ranges::collect.
Provides both direct-call and pipe-style interfaces for range materialization.
When the range is closable to C, this function uses jh::ranges::to_adaptor<C> internally; otherwise, it falls back to insertion/emplacement iteration.
| C | The target container type. |