2 ms·
People sometimes use structs when a class has only public members. And I believe the STL is also implemented that way as well.
by alberth 2y ago
People sometimes use structs when a class has only
public members.
And I believe the STL is also implemented that way as well.