Remove all trailing whitespace characters from the specified string. If string consists of only whitespace then it will be empty (i.e., have 0 length) after this operation.
Declared in <bdlb_string.h>
static
void
rtrim(std::pmr::string* string);