MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / operator +

Function operator +

tests/catch.hpp:11262–11268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 }

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected