Skip to content

instantiating fold expression with 257 arguments exceeded expression nesting limit of 256 #69

@uikilin100

Description

@uikilin100

Hi,

magic_enum/include/magic_enum/magic_enum.hpp:411:71: fatal error: instantiating fold expression with 257 arguments exceeded expression nesting limit of 256
constexpr std::size_t count = (static_caststd::size_t(valid[I]) + ...);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~

How could I fix this compile error?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions