|
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.
|
User customization point for container element deduction. More...
User customization point for container element deduction.
This template allows users to explicitly register the value type of custom or non-standard containers that cannot be automatically deduced by the generic detection logic.
When specialized, this helper provides a consistent value_type that will be used in preference to any automatic deduction. The specialization must define:
Registration should be used in the following cases:
value_type internally. value_type does not match the element type deduced from its iterator behavior. In either case, a registered specialization of this template takes precedence over all deduction mechanisms and resolves conflicts between declared and deduced types.