Skip to content

[typetraits.inl] msvc __is_aggregate error #285

Closed
@Crydsch

Description

@Crydsch

I noticed a little compiler issue with msvc and the __is_aggregate function.
For some reason it generates a C2760 Error
syntax error: '__is_aggregate' was unexpected here; expected 'expression' typetraits.inl 165

I am not sure what happens here, maybe not supported, may be a compiler bug.
Anyway, I am not using any typetraits, but since it is included by bx.h the compiler complains.

For now I fixed it by removing the entire function.
I am using VS2022 with C++20. I you need any other information please let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions