|
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.
|
Concept checking whether a container C can be directly constructed ("closed") from a range R.
More...
#include <jh/conceptual/closable_container.h>
Concept checking whether a container C can be directly constructed ("closed") from a range R.
This concept verifies, at compile time, that a container type C can be constructed from an input range R either directly (via iterator constructor) or indirectly (through intermediate vectorization or adapter construction).
R must model std::ranges::input_range. detail::compute_closable_status<C, R> must return a non-none value. std::ranges::input_range<R> &&
detail::closable_container_for_impl<C, R>::value
| C | candidate container type |
| R | input range type |
| ArgsTuple | optional tuple of constructor argument types |