September 18, 2023 Learn » Re: How to use core.vararg to print D variadic arguments and their types without using ! (template instantiation)? | |||
|---|---|---|---|
| |||
...12: error: none of the overloads of template 'core.stdc.stdarg.va_arg' are callable... | |||
September 18, 2023 Announce » Re: reggae v0.10.0 - The meta build system just got better | |||
|---|---|---|---|
| |||
...generic things, e.g. type erasure), collapse template instances, and keep ctfe things ctfe only... | |||
September 16, 2023 Learn » Re: How to use core.vararg to print D variadic arguments and their types without using ! (template instantiation)? | |||
|---|---|---|---|
| |||
Note that this doesn't work in gdc. The templated version is actually more akin... | |||
September 15, 2023 Learn » Re: How to use core.vararg to print D variadic arguments and their types without using ! (template instantiation)? | |||
|---|---|---|---|
| |||
here's how
```d
import core.vararg;
void main()
{
foo(.5, 5);
}
void foo(...)
{
int... | |||
September 14, 2023 Learn » How to use core.vararg to print D variadic arguments and their types without using ! (template instantiation)? | |||
|---|---|---|---|
| |||
https://dlang.org/phobos/core_vararg.html The common way to use **va_arg** is... | |||
September 13, 2023 Issues » [Issue 20634] @safe forces bounds checking on newly allocated array when using .ptr | |||
|---|---|---|---|
| |||
...pull request #15572 "Fix Issue 24135 - Eponymous template member overloads not shown as call candidates... | |||
September 13, 2023 Learn » Re: Setting struct as default parameter of a function using struct literal? | |||
|---|---|---|---|
| |||
...generally be static, why not use a template parameter? Besides, everything can be expressed with... | |||
September 12, 2023 Issues » [Issue 24142] New: Allow casting Int128 to integral and floating types | |||
|---|---|---|---|
| |||
...Error: template instance `opCast!int` does not match template declaration `opCast(T : bool)()` Error: template... | |||
September 12, 2023 General » Re: What is the current state of scope and member functions? | |||
|---|---|---|---|
| |||
...be like how const disappears on a template parameter when the type itself is already... | |||
September 11, 2023 Learn » Re: Setting struct as default parameter of a function using struct literal? | |||
|---|---|---|---|
| |||
...to be flexible enough by using a template parameter?
```d
enum Options : bool
{
silenceErrorsOff, silenceErrorsOn... | |||
Copyright © 1999-2021 by the D Language Foundation