September 29, 2022 General » Re: @nogc and Exceptions | |||
|---|---|---|---|
| |||
...Blog.Posted_2022_08_01.html#exception-template-concept including some talk about just lying... | |||
September 29, 2022 General » @nogc and Exceptions | |||
|---|---|---|---|
| |||
...YADMA) `@nogcUnlessThrown`.
The code to lie:
```d
template throw_new(E : Throwable, Args...)
{
alias doAllocate... | |||
September 29, 2022 General » Re: Segmentation fault in DMD - how to debug? | |||
|---|---|---|---|
| |||
...phobos\std\sumtype.d(1662,52): Error: template instance `argparse.internal.parser.Parser.parse!(false... | |||
September 28, 2022 General » Re: DIP proposal: Enum parameters | |||
|---|---|---|---|
| |||
...as a template value parameter. You can bind run-time variables with template alias parameters... | |||
September 28, 2022 Learn » Re: Template function alias that leaves out the last type parameter | |||
|---|---|---|---|
| |||
If you want to pass a message, why bother with varargs? Wouldn't it be... | |||
September 28, 2022 General » Re: Proposal: Implicit Function Template Value Instantiation | |||
|---|---|---|---|
| |||
...way to use `enum` parameters without unnecessary template bloat: `@nodbi` (read: no design by introspection... | |||
September 28, 2022 General » Re: Proposal: Implicit Function Template Value Instantiation | |||
|---|---|---|---|
| |||
Nice to hear. I’ll take that as a compliment. You mean like this? ```d void... | |||
September 28, 2022 Learn » Re: Template function alias that leaves out the last type parameter | |||
|---|---|---|---|
| |||
...I probably should have done that.
```
private template _messageBox(string title, int style)
{
void _messageBox... | |||
September 28, 2022 General » Re: Poll: do you use @property semantics? | |||
|---|---|---|---|
| |||
...example to `Inner z` in code:
```d
template foo(T)
{
struct Inner
{
T bar;
alias... | |||
September 28, 2022 General » Re: Proposal: Implicit Function Template Value Instantiation | |||
|---|---|---|---|
| |||
...advantage of IFTVI would be that the template parameters for it could be used as... | |||
Copyright © 1999-2021 by the D Language Foundation