some c++11 standard library notes
some c++11 standard library notes
Some notes on Chapter 31, 32 (standard library, STL) of Stroustrup’s “The C++ Programming Language”.
Emplace
I’d never heard the word emplace before, but it turns out that it isn’t a word made up for c++, but is also a dictionary word, meaning to “put into place or position”.
c++11 defines some emplace functions. Here’s an example for vector
#include <vector> #include <iostream> int main() {…
View On WordPress












