C++.Coding.Standards.1918.Rules.Guidelines [Electronic resources]

Herb Sutter, Andrei Alexandrescu

نسخه متنی -صفحه : 521/ 393
نمايش فراداده

Summary

Using the "right container" is great: If you have a good reason to use a specific container type, use that container type knowing that you did the right thing.

So is using

vector : Otherwise, write

vector and keep going without breaking stride, also knowing you did the right thing.