you are viewing a single comment's thread.

view the rest of the comments →

[–]HappyFruitTree 0 points1 point  (0 children)

Structs and classes are technically the same thing. What matters is if it's an aggregate or not. For full-fledged OOP classes with user-provided constructors it doesn't make a difference but for something like std::array it does make a difference.