| 9724 | } |
| 9725 | |
| 9726 | auto operator + ( StringRef const& lhs, StringRef const& rhs ) -> std::string { |
| 9727 | std::string str; |
| 9728 | str.reserve( lhs.size() + rhs.size() ); |
| 9729 | str += lhs; |
| 9730 | str += rhs; |
| 9731 | return str; |
| 9732 | } |
| 9733 | auto operator + ( StringRef const& lhs, const char* rhs ) -> std::string { |
| 9734 | return std::string( lhs ) + std::string( rhs ); |
| 9735 | } |