Support for C++ standard library.
This contains backported utilities from future standards, implementation of not-yet-standardized proposals, and adjustments of standardized utilities to be used within Kotlin/Native runtime.
Everything here lives in kotlin::std_support namespace.
Backporting from C++20:
Span.hpp-std::span
Proposals:
Memory.hpp-p0211r3
Adjustments:
CStdlib.hpp-std_support::aligned_mallocandstd_support::aligned_freeas a version ofmallocandfreethat allows changing alignment.Memory.hpp-std_support::nullptr_unique-nullptrreplacement forunique_ptrthat takes an allocator.