July 07 Learn » Re: Weird std.path API? | |||
|---|---|---|---|
| |||
Isn't it supposed to be spelled .asNormalizedPath? T -- IBM = I Blame Microsoft | |||
July 07 Learn » Re: Weird std.path API? | |||
|---|---|---|---|
| |||
`asNormalizedPath` is misspelled. | |||
July 07 Learn » Weird std.path API? | |||
|---|---|---|---|
| |||
...different functions in std.path do not work together: ```d import std.path; // Error: no... | |||
July 07 General » Re: Wouldn't this be better with bitfields? | |||
|---|---|---|---|
| |||
...which makes the layout predictable and lets `std.bitmanip` bitfield to be used for interfacing... | |||
July 07 General » Re: C bitfields guarantees | |||
|---|---|---|---|
| |||
...answer to this question is "yes" for std.bitmanip and "no" for "native" D bitfields. | |||
July 06 Learn » Re: SumType extraction | |||
|---|---|---|---|
| |||
Have you considered [std.Variant](https://dlang.org/phobos/std_variant.html)? I've found... | |||
July 06 Learn » Re: SumType extraction | |||
|---|---|---|---|
| |||
...something
along the lines of
```d
import std.stdio : writeln;
class Item
{
public void operationA... | |||
July 06 General » Re: Wouldn't this be better with bitfields? | |||
|---|---|---|---|
| |||
...types (A well-specified one that's `std.bitmanip` one, and the C-compatible one... | |||
July 06 DIP Ideas » Re: Type Inference for Struct/Enum Literals | |||
|---|---|---|---|
| |||
...state)
{
case State.IDLE: /* .. */ break;
}
```
```D
import std.stdio;
import module_a.module_b.module... | |||
July 05 Issues » [Issue 24650] New: foreach should support inout for callback delegate | |||
|---|---|---|---|
| |||
...0, 1);
return 0;
}
}
void main()
{
import std.stdio;
S s;
foreach(n; s) // error... | |||
Copyright © 1999-2021 by the D Language Foundation