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
A C++ standard library function shall not directly or indirectly modify objects ([intro.multithread]) accessible by threads other than the current thread unless the objects are accessed directly or indirectly via the function's non-const arguments, including this.
https://eel.is/c++draft/res.on.data.races#3
Shouldn't this section specify
*this
instead ofthis
?this
is never const https://eel.is/c++draft/expr.prim.this#3The text was updated successfully, but these errors were encountered: