MCPcopy Create free account
hub / github.com/HelenOS/helenos / operator+

Function operator+

uspace/lib/cpp/include/__bits/string/string.hpp:1621–1626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1619
1620 template<class Char, class Traits, class Allocator>
1621 basic_string<Char, Traits, Allocator>
1622 operator+(const basic_string<Char, Traits, Allocator>& lhs,
1623 const basic_string<Char, Traits, Allocator>& rhs)
1624 {
1625 return basic_string<Char, Traits, Allocator>{lhs}.append(rhs);
1626 }
1627
1628 template<class Char, class Traits, class Allocator>
1629 basic_string<Char, Traits, Allocator>

Callers

nothing calls this directly

Calls 3

moveFunction · 0.85
appendMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected