MCPcopy Create free account
hub / github.com/acl-dev/acl / operator >>

Method operator >>

lib_acl_cpp/src/stdlib/string.cpp:799–809  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

797 return len;
798}
799size_t string::operator >>(string* s)
800{
801 if (s == NIL) {
802 return 0;
803 }
804
805 size_t len = this->length();
806 *s = this;
807 clear();
808 return len;
809}
810
811size_t string::operator >>(string& s)
812{

Callers

nothing calls this directly

Calls 3

lengthMethod · 0.95
c_strMethod · 0.95
clearFunction · 0.50

Tested by

no test coverage detected