phobos
phobos copied to clipboard
The standard library of the D programming language
Implemented: https://issues.dlang.org/show_bug.cgi?id=14543 This is somewhere between a bug fix and a new feature because you could argue the old behaviour is wrong.
This is necessary to make clients of GCAllocator (e.g., generic containers) usable in @safe code. Memory allocated by GC allocator will still be freed by the GC when it is...
Following this thread on the forums: https://forum.dlang.org/thread/[email protected] I also discovered that it's a bit unwieldy to make an empty object, and usually I just resort to the following: ```d JSONValue...
In preparation for the removal of GCAllocator.deallocate and GCAllocator.reallocate, make that functionality available via a new allocator with a different name. Users of GCAllocator that wish to continue using manual...
This improves the somewhat hacky implementation of #8547 ~~and, more generally, makes `std.algorithm.searching.balancedParens` `nothrow` when both the range's element type and `E` are either `char`, `wchar`, or `dchar`~~.
Wrt. Bugzilla Issue 24389.
I don't necessarily agree with all of these but they show up as conflict for the other PR. This is a subset, I'll do the other ones later.
This PR adds Json5 support to std.json. done: * single tick strings * json5 identifier * single line comments // * multi line comments /* * multi line strings todo:...
Avoid CTFE unsafe cast by swapping elements of `tupleof`.