Skip to content

Microsoft intellisense doesn't work for structured binding because __EDG__ macro in #ifndef #321

@Extra-Creativity

Description

@Extra-Creativity

The macro here (https://github.com/hanickadot/compile-time-regular-expressions/blob/main/include/ctre/return_type.hpp#L552) has a #ifndef __EDG__, but Microsoft intellisense (Visual Studio or VSCode extensions) uses EDG Frontend, so false squiggles will appear though compilation passes.

When I remove such condition macro, intellisense works correctly. So what's the point here? It seems that 5 year ago it's added in this commit. Can it be removed now?

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