Search

September 29, 2022
General »
...Blog.Posted_2022_08_01.html#exception-template-concept

including some talk about just lying...
September 29, 2022
General »
...YADMA) `@nogcUnlessThrown`.

The code to lie:
```d
template throw_new(E : Throwable, Args...)
{
    alias doAllocate...
September 29, 2022
General »
...phobos\std\sumtype.d(1662,52): Error: template instance `argparse.internal.parser.Parser.parse!(false...
September 28, 2022
General »
...as a template value parameter. You can bind run-time variables with template alias parameters...
September 28, 2022
Learn »
If you want to pass a message, why bother with varargs? Wouldn't it be...
September 28, 2022
General »
...way to use `enum` parameters without unnecessary template bloat: `@nodbi` (read: no design by introspection...
September 28, 2022
General »
Nice to hear. I’ll take that as a compliment.

You mean like this?
```d
void...
September 28, 2022
Learn »
...I probably should have done that.

```
private template _messageBox(string title, int style)
{
	void _messageBox...
September 28, 2022
General »
...example to `Inner z` in code:

```d
template foo(T)
{
  struct Inner
  {
    T bar;
    alias...
September 28, 2022
General »
...advantage of IFTVI would be that the template parameters for it could be used as...
240 241 242 243 244 245 246 247 248 249 250
Next ›   Last »