[K/N] Remove std_support allocation code ^KT-59008

This commit is contained in:
Alexander Shabalin
2023-08-10 19:31:13 +02:00
committed by Space Team
parent 002cd011d4
commit 49814ecb8a
110 changed files with 557 additions and 1078 deletions
-2
View File
@@ -23,8 +23,6 @@
* For `extern "C"` declarations emulate namespaces with `Kotlin_[module_name]_` prefixes.
* To mark type as move-only, privately inherit from `kotlin::MoveOnly`
* To mark type unmovable and uncopyable, privately inherit from `kotlin::Pinned`
* Use `std_support::*` containers and smart pointers instead of `std::*` ones. The former ones default to runtime-specific allocator.
* Use `new (std_support::kalloc) T(...)` (defined in `std_support/New.hpp` instead of `new T(...)` and `std_support::kdelete(ptr)` instead of `delete ptr`. The former ones use runtime-specific allocator.
## Naming