3 ms·
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/c
by spacechild1 3y ago
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-cpp?view=msvc-170 https://learn.microsoft.com/en-us/cpp/cpp/value-types-modern....