September 28, 2022 General » Re: DIP proposal: Enum parameters | |||
|---|---|---|---|
| |||
The template bloat is unavoidable to some degree. If you want to do Design by... | |||
September 28, 2022 General » Re: DIP proposal: Enum parameters | |||
|---|---|---|---|
| |||
...use it like a template value parameter. This results in unnecessary template bloat. So I... | |||
September 28, 2022 General » Re: Proposal: Implicit Function Template Value Instantiation | |||
|---|---|---|---|
| |||
...plan to. I'm not interested in template bloat for something that works perfectly fine... | |||
September 28, 2022 General » Re: Proposal: Implicit Function Template Value Instantiation | |||
|---|---|---|---|
| |||
That's an interesting idea, but what would be the advantage of this (or something... | |||
September 28, 2022 General » Proposal: Implicit Function Template Value Instantiation | |||
|---|---|---|---|
| |||
...a, b)` automatically? In other words, the template value parameter would be inferred via the... | |||
September 28, 2022 Learn » Re: Template function alias that leaves out the last type parameter | |||
|---|---|---|---|
| |||
...How are you formatting `info("foo", 'a', 42)` inside the template if I may ask? | |||
September 28, 2022 Learn » Re: Template function alias that leaves out the last type parameter | |||
|---|---|---|---|
| |||
Thank you, works like a charm! | |||
September 27, 2022 Learn » Re: Template function alias that leaves out the last type parameter | |||
|---|---|---|---|
| |||
...long-form with two steps like this:
---
template _messageBox(string title, int style)
{
void _messageBox... | |||
September 27, 2022 Learn » Re: Template function alias that leaves out the last type parameter | |||
|---|---|---|---|
| |||
I should mention that I am really looking for a Phobos 2 way of achieving... | |||
September 27, 2022 Learn » Template function alias that leaves out the last type parameter | |||
|---|---|---|---|
| |||
How would I achieve something like this, do I have to turn the aliases into... | |||
Copyright © 1999-2021 by the D Language Foundation