|  | Home | Libraries | People | FAQ | More | 
Erase characters from the string.
string& erase( std::size_t pos = 0, std::size_t count = npos);
            Erases num characters
            from the string, starting at pos.
            num is determined as
            the smaller of count
            and size()
            - pos.
          
Strong guarantee.
All references, pointers, or iterators referring to contained elements are invalidated. Any past-the-end iterators are also invalidated.
            *this
          
| Name | Description | 
|---|---|
| 
                       | 
                      The index to erase at. The default argument for this parameter
                      is  | 
| 
                       | 
                      The number of characters to erase. The default argument for
                      this parameter is  | 
| Type | Thrown On | 
|---|---|
| 
                       | 
                       |