3 ms·
Sure, but the point is that providing factories requires extra work and consideration, so a lot of C++ classes instead lean on the default option of a construct
by mikepurvis 5y ago
Sure, but the point is that providing factories requires extra work and consideration, so a lot of C++ classes instead lean on the default option of a constructor. Rust's removal of that forces the class designer to choose.