STL: structs shouldn't redundantly say public
for their base classes
#218
Labels
enhancement
Something can be improved
fixed
Something works now, yay!
good first issue
Good for newcomers
struct
access control defaults topublic
for both members and base classes: https://eel.is/c++draft/class.access.base#2Several years ago, we started following a convention in the STL of not repeating
public
forstruct
s, but there are at least 21 places that need to be updated. One example:STL/stl/inc/utility
Lines 409 to 413 in 6b0238d
The necessary change is simple:
Find and fix as many as you can.
The text was updated successfully, but these errors were encountered: