November 18 General » Re: Just a friendly reminder about using arrays in boolean conditions | |||
|---|---|---|---|
| |||
...check was also wrong.
```d
module runnable;
import std.stdio;
void v(string s)
{
if... | |||
November 18 Issues » [Issue 24865] New: __traits(hasMember, T, "__xdtor") is true in some cases where there is no __xdtor member | |||
|---|---|---|---|
| |||
...jmdavisProg.com
This code
---
void main()
{
import std.stdio;
import std.traits;
static struct S2... | |||
November 18 Issues » [Issue 24864] New: hasElaborateDestructor incorrectly true for structs with anonymous unions | |||
|---|---|---|---|
| |||
...dlang@jmdavisProg.com
This code
---
void main()
{
import std.traits;
static struct Member
{
~this() {}
}
static... | |||
November 17 General » Re: Just a friendly reminder about using arrays in boolean conditions | |||
|---|---|---|---|
| |||
...array" can at least not be printed:
import std.stdio;
void main ()
{
int [] arr;
struct... | |||
November 16 Issues » [Issue 24863] New: DMD v2.109.0 on OpenBSD out of memory when attempting to compile OneDrive for Linux | |||
|---|---|---|---|
| |||
...phobos -I/usr/local/include/dmd/druntime/import -L-L/usr/lib -L-L/usr... | |||
November 15 Issues » [Issue 24858] maxIndex but not minIndex sometimes returns the index as an array with a single element | |||
|---|---|---|---|
| |||
...names, is there?) ``` import std.stdio: writeln; import std.math: fabs; /* OK */ // import std.algorithm... | |||
November 15 Issues » [Issue 24858] maxIndex but not minIndex sometimes returns the index as an array with a single element | |||
|---|---|---|---|
| |||
...d): ``` import std.stdio : writeln; import std.algorithm : map; import std.math: fabs; import std... | |||
November 14 Learn » Re: Avoid subtracting form .length | |||
|---|---|---|---|
| |||
My version: import std.stdio, std.array, std.range, std.algorithm; void foo(ref int... | |||
November 14 Learn » Re: Avoid subtracting form .length | |||
|---|---|---|---|
| |||
...is what you want to do: ```d import std.array, std.range, std.stdio; void... | |||
November 13 Issues » [Issue 24859] New: Relational expression for dynamic arrays with vector elements fails to compile | |||
|---|---|---|---|
| |||
...error message is: --- /usr/include/dmd/druntime/import/core/internal/array/comparison.d(77): Error... | |||
Copyright © 1999-2021 by the D Language Foundation