Releases: Inochi2D/numem
Releases · Inochi2D/numem
v0.7.4
- alias this for smart pointers now works correctly
v0.7.3
- Adds nogc_emplace to allow emplacing when phobos declares emplace as GC'ed.
- Fixes some documentation
- Adds
numem.mem.utils
, with utilities to make numem pretend function calls are nogc.
v0.7.2
- Fixes an invalid version specifier in dub.sdl preventing use.
v0.7.1
- Added automatic unit tests.
- Added .ptr for string to get a null terminated pointer.
- Changed smart pointers to alias their containing type.
- Changed unique_ptr to allow moving on assignment.
- Changed vectors to allow moving unique_ptr's out.
v0.7.0
Adds a pretty major revamp of a bunch of functionality within the library.
- Moved Stream related things to the
numem.io.stream
module - Added
numem.io.endian
to help with endianness conversion - Added unsafe
clear
function to shared_ptr and unique_ptr, which clears the reference count object without subtracting refcount. - Changed
unqiue_ptr
to have a copy-constructor which moves the refcount to that instance. - Changed
numem.all
to import map, set and io.
Transition to new stream module is helped with a deprecated placeholder numem.stream
module, which imports the new module.
Please update your code accordingly to use the new module, as numem.stream
will be removed in future releases.
v0.6.4
Added pushFront and pushBack functions to vectors
v0.6.3
Adds support for copying strings and vectors between structs.
v0.6.2
Fixes a double declaration causing compilation errors, additionally fixes a wrong module reference in the exists
function in io.file
v0.6.1
Adds support for retain/release for shared_ptr.
shared_ptr, weak_ptr and unique_ptr now also support getting the reference count value.