Hacker News new | past | comments | ask | show | jobs | submit login

C++ classes in general are value types. The fact that instances might share a common resource does not change that. See also https://learn.microsoft.com/en-us/cpp/cpp/value-types-modern....



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: