|
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 for types compatible with jh::immutable_str.
More...
#include <jh/core/immutable_str.h>
Concept for types compatible with jh::immutable_str.
Defines the set of types that can safely participate in comparison and hashing operations with immutable_str instances. This allows seamless interoperability between atomic_str_ptr, const char*, and string literals.
atomic_str_ptr (and its cv/ref-qualified variants). const char*. "hello" (which decay to const char*). unordered_map::find("key") without constructing a temporary immutable_str. | U | Candidate type to test for immutable_str compatibility. |