September 10 Issues » [Issue 24759] New: Order-dependent failure to create an overload set with template function | |||
|---|---|---|---|
| |||
...T a) {}
alias foo = b.foo;
void main()
{
foo();
foo(1);
}
----
a.d(6): Error... | |||
September 10 Learn » Re: Can the send function send an array? | |||
|---|---|---|---|
| |||
...import std.concurrency;
import std.stdio;
void main(){
int N=10;
shared int[] arr1=new... | |||
September 10 Learn » Can the send function send an array? | |||
|---|---|---|---|
| |||
...import std.stdio;
import std.exception;
void main(){
int N=5;
int[] arr1= new int... | |||
September 10 DIP Development » Re: Sum Types - first draft | |||
|---|---|---|---|
| |||
...why DIP1035 added `@system` variables.
```D
void main() @safe
{
SumType!(int, int*) s = new int;
}
```
| |||
September 09 Issues » [Issue 24757] New: Escaping with typesafe variadic functions is not detected, making @safe code potentially unsafe | |||
|---|---|---|---|
| |||
...and runs, but the assertion fails
---
void main() @safe
{
auto arr = bar();
assert(arr == [1... | |||
September 09 Learn » Re: Is it possible to use templates to implement something like the `@show` macro from the Julia programming langauge in D? | |||
|---|---|---|---|
| |||
...line - 1)
.front
.parse
.writeln(" == ", t);
}
void main(){
int i = 3;
show(i++ + ++i * i... | |||
September 09 Learn » Re: How to Humanize Numerical Input|Output | |||
|---|---|---|---|
| |||
...to!int()` etc.
```d
import std;
void main(string[] args)
{
// string[] inputs = args[1..$]; // let... | |||
September 09 Learn » Re: Is it possible to use templates to implement something like the `@show` macro from the Julia programming langauge in D? | |||
|---|---|---|---|
| |||
...const f = n * f!(n - 1);
}
void main()
{
int i = 3;
show(i++ + ++i * i... | |||
September 09 Learn » Re: Is it possible to use templates to implement something like the `@show` macro from the Julia programming langauge in D? | |||
|---|---|---|---|
| |||
...drop(line-1).front.parse," == ",t);
}
void main(){
int i=3;
show(i++ + ++i * i... | |||
September 09 Announce » Re: LDC 1.40.0-beta3 | |||
|---|---|---|---|
| |||
...emscripten_cancel_main_loop();
return;
}
screen_surface = SDL_GetWindowSurface(window);
emscripten_set_main_loop(&mainloop... | |||
Copyright © 1999-2021 by the D Language Foundation