Skip to content

Bug: number of fields in a struct is limited to 100; consider removing limitation? #154

@ethindp

Description

@ethindp

I'm not certain if this is a limitation in the library itself or in compilers, but I do have a use case where I've exceeded this limit significantly and I don't really have a way of splitting the fields up since Idk what I'd even name the substructs. 😀 If this is a limitation at the compiler level, I believe it can be raised for most of them:

  • MSVC: fixed at 2048
  • Clang, GCC, Intel: -ftemplate-depth=<N>

If this is just a library-imposed limit, may I ask why it is there?

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