3 ms·
About variable length arrays: Scott Meyers pointed out that this code std::vector<int[n]> a; // n is a runtime argument has no real meaning in C++. Also std
by pmr_ 15y ago
About variable length arrays:
Scott Meyers pointed out that this code
std::vector<int[n]> a; // n is a runtime argument
has no real meaning in C++. Also std::vector and std::array already cover the use case.