Compare this string to the specified string.
| 397 | // Compare this string to the specified string. |
| 398 | /// |
| 399 | int compare(const CefStringBase& str) const { |
| 400 | if (empty() && str.empty()) |
| 401 | return 0; |
| 402 | if (empty()) |
| 403 | return -1; |
| 404 | if (str.empty()) |
| 405 | return 1; |
| 406 | return traits::compare(string_, str.GetStruct()); |
| 407 | } |
| 408 | |
| 409 | /// |
| 410 | // Clear the string data. |