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

This is much more useful and usable than `Fields` or `RepresentationTypeTuple`, which lose the essential information of offsets in data fields.

Needs Work
Needs Rebase
stalled

Per issue 13804, I created a `toBytes` property for `std.bigint.BigInt`. This generates an arbitrarily-long array of unsigned bytes that represents the signed, native-endian binary representation of the `BigInt`. https://issues.dlang.org/show_bug.cgi?id=13804

@andralex
stalled

While working on some thread-safe code, I felt an easy way to unshare just the head of a type was missing. But when looking at the docs of `core.atomic` I...

Needs Work
Needs Rebase
stalled

As mentioned on #5153 if an API method could potentially return an "undefined response (aka `null`), there are a couple of strategies: Method | Uses in Phobos --------|--------- return [Nullable](https://dlang.org/phobos/std_typecons.html#.Nullable)...

Needs Work
Needs Rebase
stalled

TODO: - [ ] add more tests which properly motivate this addition - [ ] add changelog entry

Needs Decision
@andralex
WIP
stalled
Needs Tests

There's no need to open and open and parse the gigantic `std.internal.unicode_tables` if it's never needed. My journey: `std.net.curl` -> `etc.c.curl` -> `std.socket` -> `std.stdio` -> `std.uni` -> `std.internal.unicode_tables`. ```shell...

Needs Work
Needs Rebase
stalled

I'm reasonably certain this change won't cause previously-rejected cases to be accepted or vice versa.

Enhancement
stalled

Motivation: Named tuples are a lot better to read. There has been a precedent for this, see https://github.com/dlang/phobos/pull/5436

stalled

A range that iterates then removes elements for which the predicate is true. An efficient combination of `filter!(pred)` and `remove`.

Needs Work
Needs Rebase
stalled

`copy` is designed in such a way that passing in a generic output range as the target value makes no sense, as `copy` is supposed to return the "remainder" of...

Needs Work
Needs Review
Bug Fix
Needs Rebase
stalled