compile-time-regular-expressions
compile-time-regular-expressions copied to clipboard
Microsoft intellisense doesn't work for structured binding because __EDG__ macro in #ifndef
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?