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
The old web UI was able to display several important metadata about components of the selected class or function that the new web UI does not currently have support for. Such features are (as illustrated by the images below):
visibility of members (private/protected/public; both with grouping and with +/#/- icons)
tag-based flags in the entry's prefix ('S'=static/'G'=global/'I'=implicit/...)
grayed-out entries for implicit nodes (e.g. range and iterator variables in range-based for loops, or implicitly generated constructors, destructors and assignment operators)
I would also consider adding further flags, like:
mutable
constexpr, constinit, consteval
'abstract'/'pure', override, final (we already have virtual)
noexcept
Here's the dummy code I used for the images:
classSpecialClass
{
private:constvolatileint cvi = 7;
mutablechar mc = 'a';
staticlong sl;
staticconstexprconstchar* scccp = "hello";
protected:SpecialClass() {}
public:intsomething() const
{
int sum = 0;
int vals[] = {2,3,5,7};
for (int val : vals)
sum += val;
return sum;
}
};
long SpecialClass::sl = 7;
The text was updated successfully, but these errors were encountered:
The old web UI was able to display several important metadata about components of the selected class or function that the new web UI does not currently have support for. Such features are (as illustrated by the images below):
I would also consider adding further flags, like:
Here's the dummy code I used for the images:
The text was updated successfully, but these errors were encountered: