Search

November 29, 2022
General »
...whatever. Leverage existing D features instead:

```d
template nullIsValid(T)
{
    static if (is(T == struct...
November 29, 2022
General »
Absolutely. All these PRs add new template hooks and also remove the old ones.
And...
November 30, 2022
General »
One idea: offer a way to transform template arguments prior to passing them to the...
November 29, 2022
General »
...or `SumType!(int, float)`, it being a template made me confused, even then i'm...
November 29, 2022
General »
...types, such as for IsExpressions, and for template parameters. Suddenly, existing code that is expecting...
November 29, 2022
General »
...reference see how `mir.algebraic.Variant` canonicalizes template type parameters using the trait `TypeSet` at...
November 29, 2022
General »
...forest for the trees, a bit. Yes, template bloat is an issue, but there is...
November 30, 2022
General »
...had some way to determine cost of template instantiation then we would have a good...
November 28, 2022
General »
...alias attribute) = getUDAs!(symbol, attribute).length != 0;

template getUDAs(alias symbol, alias attribute)
{
    import std...
November 29, 2022
General »
...shown  library sum types.

Well one is template bloat. I happily (well, readily) concede this...
220 221 222 223 224 225 226 227 228 229 230
Next ›   Last »