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
P1169 static operator(), P2128 (Multidimensional subscript operator) and EWG88 all mention that operator[] should be allowed to be a static member function if operator() is allowed to be a static member function.
We propose that operator[] in, its use and definition, should match that of operator(). We ask that we accept P2589 static operator[] to fix this for C++23. This is a minor fix to get us the uniformity that we all wanted and was missed unintentionally in the CD.