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
thanks for reporting this nice issue. I (re)learned something today :-) std::jmp_buf is roughly defined as:
typedefintjmp_buf[30];
This makes the type behind it an array, but the type does not appear as such. The C++ Insights code did not consider that and was looking for [ to insert the variable name.
When including
setjmp.h
and declaring a global variable with typejmp_buf
, the generated insight is juststd::jmp_buf = std::jmp_buf
.Example source code (line 3):
Generated insight (line 3):
The text was updated successfully, but these errors were encountered: