You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In clang, this two types visualized as same becouse they contain closure types which generate at the same location. the picture below shows that in msvc the closure type has unique id.
The text was updated successfully, but these errors were encountered:
Adttil
changed the title
different closure type visualized as same with some compiler.
Avoid different closure type visualized as same with some compiler.
Jan 4, 2024
Now, the lambda type has a uniform representation across different compilers, and every lambda type will be given a unique ID. For example, the code below:
In clang, this two types visualized as same becouse they contain closure types which generate at the same location. the picture below shows that in msvc the closure type has unique id.
The text was updated successfully, but these errors were encountered: