November 20 Learn » I can not understand this Error: undefined identifier `cpp_longlong` | |||
|---|---|---|---|
| |||
...Windows)
{
enum __c_long : int;
enum __c_ulong : uint;
alias int c_long;
alias uint... | |||
November 19 Issues » [Issue 24867] Wrong deprecation warning of @system variable usage under CTFE | |||
|---|---|---|---|
| |||
...struct Bar {
align(1):
const char* name;
int b = 2;
}
struct Foo {
static immutable align... | |||
November 19 Issues » [Issue 24867] Wrong deprecation warning of @system variable usage under CTFE | |||
|---|---|---|---|
| |||
...struct TracesMetadata {
align(1):
const char* name;
int b = 2;
}
@section(".traces.metadata") @assumeUsed
static... | |||
November 19 DIP Development » Re: Second Draft: Placement New Expression | |||
|---|---|---|---|
| |||
...it comes to const/immutable:
struct S { int i; char c; }
void main()
{
S dest... | |||
November 19 Issues » [Issue 24867] Wrong deprecation warning of @system variable usage under CTFE | |||
|---|---|---|---|
| |||
...reading overlapped pointers:
```
union Bar
{
string name;
int b;
}
static immutable Bar bar = Bar("foo... | |||
November 19 Issues » [Issue 24867] Wrong deprecation warning of @system variable usage under CTFE | |||
|---|---|---|---|
| |||
...struct Bar {
align(1):
const char* name;
int b = 2;
}
struct Foo {
static immutable Bar... | |||
November 19 DIP Ideas » Changes to User-Defined Attributes syntax | |||
|---|---|---|---|
| |||
...int a; ``` In this case, one should be forced to use parentheses: ```d @(_ => 2) int... | |||
November 18 Issues » [Issue 24866] New: Inconsistent behavior in safe checking of conversion to void | |||
|---|---|---|---|
| |||
...Reporter: bugzilla@digitalmars.com
```
@safe:
struct T { int* a,b,c; }
void bar(void[24... | |||
November 18 Issues » [Issue 24864] New: hasElaborateDestructor incorrectly true for structs with anonymous unions | |||
|---|---|---|---|
| |||
...this() {}
}
static struct S
{
union
{
Member member;
int i;
}
}
static assert(!hasElaborateDestructor!S);
}
---
fails to... | |||
November 17 General » Re: Just a friendly reminder about using arrays in boolean conditions | |||
|---|---|---|---|
| |||
...the compiler uses it:
```d
struct S
{
int x;
}
void main()
{
auto i = typeid(S... | |||
Copyright © 1999-2021 by the D Language Foundation