Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in stl

How do you copy the contents of an array to a std::vector in C++ without looping?

c++ stl vector copy

What happens if you call erase() on a map element while iterating from begin to end?

c++ stl iterator

What is the preferred/idiomatic way to insert into a map?

c++ stl insert stdmap std-pair

How do I sort a vector of pairs based on the second element of the pair?

c++ stl stdvector

what is the difference between const_iterator and iterator? [duplicate]

How do I specify a pointer to an overloaded function?

c++ stl

Iterate keys in a C++ map

c++ stl

Why doesn't std::queue::pop return value.?

c++ stl

How do I remove an item from a stl vector with a certain value?

c++ stl

How to set initial size of std::vector?

c++ stl

Parsing a comma-delimited std::string [duplicate]

c++ string parsing stl csv

Using custom std::set comparator

c++ stl

What is the difference between const_iterator and non-const iterator in the C++ STL?

c++ stl iterator constants

Is it more efficient to copy a vector by reserving and copying, or by creating and swapping? [duplicate]

c++ algorithm vector stl

Should I store entire objects, or pointers to objects in containers?

c++ stl pointers

How to check if std::map contains a key without doing insert?

c++ stl map

How to get std::vector pointer to the raw data?

c++ stl vector

What are the complexity guarantees of the standard containers?

c++ stl containers big-o

C++ valarray vs. vector

What does iterator->second mean?

c++ stl iterator