2 ms·
Google uses the STL everywhere in Chrome.
by pcwalton 13y ago
Google uses the STL everywhere in Chrome.
- pjmlp 13y agoSure, but Google is special. We are talking about normal companies in regard what features one is allowed to use. If you mean security and STL. Do Google developers use std::array::at() instead of std::array::operator[]() as an example? Do they use smart pointers and STL containers instead of pure C++ pointers, arrays, strings everywhere? Do they use references instead of pointers in function arguments for out parameters? Do they use RAII for all types of resources? Do they produce builds with -Wall -Werror? Does the static analyzer run as part of the build? Being able to use STL is just the first step for secure C++.