phobos
phobos copied to clipboard
The standard library of the D programming language
I implemented the O(1) algorithm for "get" and "set" from the cache similar to what is described here[1]. Thanks, Alex
The new directive std.getopt.config.helpLike allows to use command-line arguments like additional 'help' arguments. The argument following this new directive is treated like '-h' or '--help'. A common use-case is an...
…ot handle range sentinels nicely. This may break user code, unlike (https://github.com/dlang/phobos/pull/8568)
Signed-off-by: Luís Ferreira
Signed-off-by: Luís Ferreira --- Requires https://github.com/dlang/dmd/pull/14456 to compile successfully.
This PR addresses [issue 23090][1] for `std.experimental.allocator.building_blocks.region` by splitting the functionality previously accessed using `NullAllocator` out into two new allocators, `BorrowedRegion` and `SharedBorrowedRegion`. The original `Region` and `SharedRegion` are now...