remove from unordered_set c++

C++
// By position:	iterator erase ( const_iterator position );
// By key:		size_type erase ( const key_type& k );
// By range:	iterator erase ( const_iterator first, const_iterator last );

myset.erase ( myset.begin() );                    // erasing by iterator
myset.erase ( "France" );                         // erasing by key
myset.erase ( myset.find("Japan"), myset.end() ); // erasing by range
Source

Also in C++: