On Wednesday, 15 December 2021 at 11:36:41 UTC, Manfred Nowak wrote:
On Tuesday, 14 December 2021 at 08:28:01 UTC, WebFreak001 wrote:
[...]
Alternatively, remove the template `()` from your `struct Header`

What is the semantic sense of a template having no parameters?

Although the documentation declares such a template to be syntactically correct, not a single example suggests a meaning.

To add to other responses, certain features are only available for templates, such as constraints and `auto ref` parameters.

Reply via email to