Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <set>
- #include <utility>
- #include <string>
- int main() {
- set<string> s;
- s.insert("aaa");
- auto foo = move(s.extract(s.begin()).value());
- cout << foo << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement