November 25 General » Re: Just a friendly reminder about using arrays in boolean conditions | |||
|---|---|---|---|
| |||
...0 length string: ``` char *s; // string if (s) // pointer if (*s) // length ``` ``` char[] a; // array... | |||
November 24 Issues » [Issue 24876] New: Undocumented cast from slice to static array | |||
|---|---|---|---|
| |||
...g.:
void f(int[] b)
{
char[4] a;
a = cast(char[4]) b[0..1... | |||
November 21 Genel » Show Helper | |||
|---|---|---|---|
| |||
...import std.stdio; /// show parser /// auto selfParse(char[] s) => s[9..$ - 2]; void show(string... | |||
November 20 Learn » Re: I can not understand this Error: undefined identifier `cpp_longlong` | |||
|---|---|---|---|
| |||
...0x103caa554) #17 0x00000001040e59c1 mars_tryMain(Param&, Array<char const*>&) (/ldc/bin/ldc2+0x103ba09c1) Error: Error... | |||
November 19 Issues » [Issue 24867] Wrong deprecation warning of @system variable usage under CTFE | |||
|---|---|---|---|
| |||
...this situation:
```
struct Bar {
align(1):
const char* name;
int b = 2;
}
struct Foo {
static... | |||
November 19 Issues » [Issue 24867] Wrong deprecation warning of @system variable usage under CTFE | |||
|---|---|---|---|
| |||
...align(1) struct TracesMetadata {
align(1):
const char* name;
int b = 2;
}
@section(".traces.metadata... | |||
November 19 DIP Development » Re: Second Draft: Placement New Expression | |||
|---|---|---|---|
| |||
...to const/immutable:
struct S { int i; char c; }
void main()
{
S dest;
immutable(S... | |||
November 19 Issues » [Issue 24867] Wrong deprecation warning of @system variable usage under CTFE | |||
|---|---|---|---|
| |||
...align(1) struct Bar {
align(1):
const char* name;
int b = 2;
}
struct Foo {
static... | |||
November 19 Issues » [Issue 24867] New: Wrong deprecation warning of @system variable usage under CTFE | |||
|---|---|---|---|
| |||
...align(1) struct Bar {
align(1) const char* name;
}
struct Foo {
static immutable Bar bar... | |||
November 16 Issues » [Issue 24863] New: DMD v2.109.0 on OpenBSD out of memory when attempting to compile OneDrive for Linux | |||
|---|---|---|---|
| |||
...char)[]) [0x83f9b75d5a3] ??:? void dmd.glue.generateCodeAndWrite(dmd.dmodule.Module[], const(char)*[], const(char)[], const(char... | |||
Copyright © 1999-2021 by the D Language Foundation