4 days ago General » Something like ADL from C++? | |||
|---|---|---|---|
| |||
...serialise integer */ }
void serialise(void[] buffer, const(char)[] str)
{ /* serialise string */ }
// ...etc
```
And some serialiser... | |||
5 days ago Learn » Re: volatile struct definition for peripheral control registers | |||
|---|---|---|---|
| |||
...it:
```d
struct FixedStr(size_t capacity)
{
char[capacity] data = ' ';
char[] buff;
size_t titleLength... | |||
6 days ago Issues » [Issue 24008] std.string.lastIndexOf(string, char) and (string, string) should be nothrow | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24008 --- Comment #1 from dlangBugzillaToGithub <robert.schadek... | |||
6 days ago Issues » [Issue 21557] std.encoding and std.utf do not use replacement char consistently | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=21557 --- Comment #1 from dlangBugzillaToGithub <robert.schadek... | |||
6 days ago Issues » [Issue 20030] Variant concat of char and string doesn't work | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=20030 --- Comment #2 from dlangBugzillaToGithub <robert.schadek... | |||
6 days ago Issues » [Issue 8384] std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar* | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=8384 --- Comment #26 from dlangBugzillaToGithub <robert.schadek... | |||
6 days ago Issues » [Issue 5543] to!int to see a char as a single-char string | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=5543 --- Comment #21 from dlangBugzillaToGithub <robert.schadek... | |||
November 28 Issues » [Issue 24889] New: [Function alignForSize] | |||
|---|---|---|---|
| |||
...function signature is
string alignForSize(E...)(const char[][] names...)
but the doc says
{null} alignForSize... | |||
November 26 Issues » [Issue 24883] New: Speculative template overload error escapes with `-preview=rvaluerefparam` | |||
|---|---|---|---|
| |||
...3;
int toString(void delegate(scope const(char)[]) sink) => 4;
void put() {}
pragma(msg, toString... | |||
November 25 Issues » [Issue 4152] Function alias forward reference error | |||
|---|---|---|---|
| |||
...following code should work:
```d
void f(char){}
void f(double){}
void main()
{
auto badAddrOfOverSet... | |||
Copyright © 1999-2021 by the D Language Foundation