MCPcopy Create free account
hub / github.com/covscript/covscript / extract

Method extract

include/covscript/core/components.hpp:977–986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

975 }
976
977 stl_string extract() && {
978 if (m_own)
979 {
980 stl_string str = std::move(*static_cast<stl_string *>(m_data));
981 destroy();
982 return str;
983 }
984 else
985 return static_cast<const CharT *>(m_data);
986 }
987
988 stl_string extract() const &
989 {

Callers 8

to_stringFunction · 0.80
list>Method · 0.80
array>Method · 0.80
pair>Method · 0.80
hash_set>Method · 0.80
hash_map>Method · 0.80
pointer>Method · 0.80
range_type>Method · 0.80

Calls 1

moveFunction · 0.50

Tested by

no test coverage detected