|
native 0.0.1
Vectors, masks and wide register packs for C++26
|
Concepts | |
| concept | native::trivially_destructible |
Classes | |
| struct | native::c_free |
Typedefs | |
| template<trivially_destructible T> | |
| using | native::unique_c_ptr = std::unique_ptr<T, c_free> |
| using | native::unique_str = unique_c_ptr<char const> |
Functions | |
| unique_str | native::dup (char const *str) noexcept |
Small unique_ptr deleters for allocations made outside C++ new/delete. They do not construct or destroy objects in the allocation.
|
export |
Exclusive ownership of C storage; move or reset it as with std::unique_ptr.
Definition at line 44 of file native.memory.ccm.
|
export |
A read-only C string whose allocation is released by std::free.
Definition at line 50 of file native.memory.ccm.
|
inlineexportnoexcept |
Duplicate a C string into independent owned storage. Check for allocation failure.
str is non-null Definition at line 60 of file native.memory.ccm.