Skip to content

Remove or specify what a “variable length struct” is #4263

@Bolpat

Description

@Bolpat

The array spec reads:

Static arrays with 0 elements are useful as the last member of a variable length struct, or as the degenerate case of a template expansion.

(Highlight by me)

Neither the array spec nor the struct spec mention it. A Google Search yields only one result and it’s the quoted paragraph.

So please, either

  • remove its mention (if it never was supported and support isn’t planned),
  • mention it’s a future feature,
  • mention it’s no longer supported (if it’s not supported anymore),
  • specify how it works, or
  • put a link in the array spec to where it’s documented

I can’t do that myself because I don’t know which bullet point is the right one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions