mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-24 18:40:38 +00:00
This adds the back method that return a reference or const reference to the last char in an sstring. find_last_of, which return the index of the last occurance of a char in the string. And append with append C string to a string. The logic and definition are similiar to the std::string. Note that following the std::string definition, calling back on an empty string is forbiden and the results are undefined. Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
17 KiB
17 KiB