How to define property type to Array!struct?

bauss jj_1337 at live.dk
Wed Dec 15 12:35:37 UTC 2021


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.

In this case, nothing.

In other cases to only compile said "object" in specific 
conditions.


More information about the Digitalmars-d-learn mailing list