phobos icon indicating copy to clipboard operation
phobos copied to clipboard

The standard library of the D programming language

Results 121 phobos issues
Sort by recently updated
recently updated
newest added

Previously, a failed call to readf resulted in multiple copies of the same LockingTextReader being destroyed. Since LockingTextReader's destructor calls ungetc on the last-read character, this caused that character to...

Bug Fix

We can give more precise errors then. `chain` is actually mentioned in this paper (thanks @ibuclaw): https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2429r0.pdf > `chain(Ranges...)(Ranges rs)` with `Ranges = (int[], int)` must satisfy the following constraint:...

Change the meaning of DMD_DIR from the path of the dmd repository, including the compiler and druntime, to the path of the compiler source. This becomes consistent with its usage...

They're overly complex (e.g. testing for the native endianness of the machine when that's actually completely unnecessary), and they use unions in a manner that is undefined behavior in C/C++...

Feel free to improve however you see fit. I found it a little lacking to not have Windows support. I can't understand how to write in phobos way, but the...

This provides an appender that doesn't hold its data in an indirection which needs allocating, the lack of which reduces overhead substantially for situations where the amount of actual work...