Diferente pentru blog/cpp11 intre reviziile #48 si #52

Nu exista diferente intre titluri.

Diferente intre continut:

cout << "Anna is " << age["anna"] << " years old." << endl;
==
Using STL vectors, pairs or user defined objects as keys is a little trickier because you also need to provide the hash function.
Using STL vectors, pairs or user defined objects as keys is a little trickier because you also need to provide a hash function.
== code(cpp) |
#include <unordered_set>
(Often, a cleaner alternative to using lambda functions for sorting is to define a class holding all the data for each entry and to implement the $<$ operator.)
_Please let us know in the comments section what other $C++11$ features do you use for programming contests. Code snippets illustrating your favorite tricks would be beneficial for us all._
_Let us know in the comments section what are the $C++11$ features that you use for programming contests. Code snippets illustrating your favorite tricks are welcome._

Diferente intre securitate:

private
protected

Diferente intre topic forum:

 
8918