How to define property type to Array!struct?

Stanislav Blinov stanislav.blinov at
Wed Dec 15 14:41:14 UTC 2021

On Wednesday, 15 December 2021 at 11:36:41 UTC, Manfred Nowak 
> 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.

More information about the Digitalmars-d-learn mailing list