feat(bigtable): add Clear(std::string&) helper for RowKeyType compatibility by drona-gyawali · Pull Request #15252 · googleapis/google-cloud-cpp

@drona-gyawali requested a review from a team

July 7, 2025 03:43

@drona-gyawali drona-gyawali changed the title Add Clear() function for RowKeyType to unblock LSC feat(bigtable): add Clear(std::string&) helper for RowKeyType compatibility

Jul 7, 2025

devbww

scotthart

…bility

Adds a Clear(std::string&) function that calls std::string::clear()
in OSS builds. This unifies the interface for clearing row keys
between OSS (std::string) and Google internal (absl::Cord), where
an overload will call absl::Cord::Clear() instead of deprecated clear().

Signed-off-by: Dronaraj Gyawali <dronarajgyawali@gmail.com>

@drona-gyawali @scotthart

Signed-off-by: Dorna Raj Gyawali <dronarajgyawali@gmail.com>

@scotthart