compile-time-regular-expressions icon indicating copy to clipboard operation
compile-time-regular-expressions copied to clipboard

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

Open Extra-Creativity opened this issue 1 year ago • 0 comments
trafficstars

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?

Extra-Creativity avatar Aug 13 '24 04:08 Extra-Creativity