[K/N] Remove std_support allocation code ^KT-59008
This commit is contained in:
committed by
Space Team
parent
002cd011d4
commit
49814ecb8a
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user