November 22 Issues » [Issue 24871] New: DDoc strips indent in triple slash comments | |||
|---|---|---|---|
| |||
...stdio;
/// Example
/// ---
/// void main() {
/// foreach (i; 0..10) {
/// writeln("Hello, world!");
/// }
/// }
/// ---
void main() {
writeln("Hello... | |||
November 21 Learn » Re: std.mmfile + std.bitmanip.peek, void[] is not a forward range? | |||
|---|---|---|---|
| |||
...error
q.d(4): Error: variable `q.main.e` - type `void` is inferred from
initializer... | |||
November 21 Genel » Show Helper | |||
|---|---|---|---|
| |||
...const f = n * f!(n - 1);
}
void main()
{
int i = 3;
show(i++ + ++i * i... | |||
November 21 Issues » [Issue 24869] Qualifier dropped from return type when AliasSeq is indexed with template argument | |||
|---|---|---|---|
| |||
...S
{
int n;
ref int get() const => n;
}
void main()
{
const S s;
s.get;
}
-- | |||
November 21 Genel » Re: @nogc | |||
|---|---|---|---|
| |||
...tek satırla aşağıdaki her şey noGC
void main() //@nogc
{
enum { ROWS = 5,
COLUMNS = 5,
LENGTH... | |||
November 21 Genel » Re: @nogc | |||
|---|---|---|---|
| |||
...std.stdio;
import core.memory : GC;
void main()
{
GC.disable(); // bir sonraki GC.enable()'a... | |||
November 21 Learn » Re: Would this function benefit from functional programming? | |||
|---|---|---|---|
| |||
...std;
enum { rows = 1, columns = 2 }
void main()
{
// with HOFs
iota(rows * columns).each!(c... | |||
November 21 Issues » [Issue 24870] New: cast() ignore when the dot operator is used | |||
|---|---|---|---|
| |||
...issues.dlang@jmdavisProg.com
This code
---
void main()
{
const s = S(42);
T* ptr = cast... | |||
November 21 DIP Ideas » Re: New syntax for comma expression | |||
|---|---|---|---|
| |||
...in the syntax.
I.e.
```d
void main() {
bool b;
auto v = b ? (
new class... | |||
November 21 Issues » [Issue 24793] Allow implicit conversion of const pointers to void* | |||
|---|---|---|---|
| |||
...void* is considered @safe - e.g.
---
void main() @safe
{
int* i;
void* v = i;
}
---
whereas... | |||
Copyright © 1999-2021 by the D Language Foundation