language: C++11 (gcc-4.7.2)
date: 282 days 0 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <iostream>
#include <functional>
#include <string>
#include <unordered_set>
 
int main()
{
    std::unordered_set<std::string> dictionary;
 
    std::string str = "Meet the new boss...";
    dictionary.insert(str);
    auto it = dictionary.find(str);
 
    std::cout << *it << '\n';
}