September 01 Learn » Re: Adding a partial specialization of std.conv.to for Typedef!string | |||
|---|---|---|---|
| |||
Im pretty sure all solutions are imperfect, but id suggest combineing the overloadset ```d //myconv... | |||
September 01 Learn » Adding a partial specialization of std.conv.to for Typedef!string | |||
|---|---|---|---|
| |||
...work
```d
import std.typecons;
alias vstring = Typedef!string;
void main ()
{
import std.stdio;
import... | |||
September 01 Issues » [Issue 11704] std.conv.to fails from string to std.typecons.Typedef | |||
|---|---|---|---|
| |||
...std.typecons; import std.conv; alias vstring = Typedef!string; auto v = 3.to!vstring; } ../../src... | |||
September 01 Issues » [Issue 11704] std.conv.to fails from string to std.typecons.Typedef | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=11704
kdevel <kdevel@vogtner.de> changed:
What... | |||
August 30 Issues » [Issue 24718] [ImportC] typedef struct with name as a pointer cannot be used with struct name | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24718 https://forum.dlang.org/post/tpebcqwzdqfkhnlkmbpd... | |||
August 24 Issues » [Issue 24718] New: [ImportC] typedef struct with name as a pointer cannot be used with struct name | |||
|---|---|---|---|
| |||
...id=24718
Issue ID: 24718
Summary: [ImportC] typedef struct with name as a pointer cannot... | |||
August 08 Learn » importC error: alignment value expected, not `sizeof` | |||
|---|---|---|---|
| |||
```c
typedef struct test_s
{
unsigned char _[64] __attribute__ ((aligned (sizeof (void *))));
} test_t;
``` | |||
August 05 Learn » Re: importC with struct name and function conflict | |||
|---|---|---|---|
| |||
...clib_helpers.c: ```C #include<hugelibrary.h> typedef struct S S_t; ``` app.d: ``` import... | |||
August 04 General » Re: enums and version/static if/"inheritance" | |||
|---|---|---|---|
| |||
...flag manipulation) is this example: ```d struct Typedef(T, T init = T.init, string cookie... | |||
August 03 Learn » Re: importC with struct name and function conflict | |||
|---|---|---|---|
| |||
...a typedef to the C code:
```C
int S;
struct S { int a, b; };
typedef... | |||
Copyright © 1999-2021 by the D Language Foundation