| 11260 | } |
| 11261 | |
| 11262 | auto operator + ( StringRef const& lhs, StringRef const& rhs ) -> std::string { |
| 11263 | std::string str; |
| 11264 | str.reserve( lhs.size() + rhs.size() ); |
| 11265 | str += lhs; |
| 11266 | str += rhs; |
| 11267 | return str; |
| 11268 | } |
| 11269 | auto operator + ( StringRef const& lhs, const char* rhs ) -> std::string { |
| 11270 | return std::string( lhs ) + std::string( rhs ); |
| 11271 | } |