When should you use a class vs a struct in C++? - Stack Overflow
經安全檢測,此網站為安全網站,請放心前往原始網址!
When should you use a class vs a struct in C++? - Stack Overflow
I find that I rarely use struct in C++, except when I need auto aggregate
initialization of Plain Old Data, I don't think that can be done with data ...