MCPcopy Create free account
hub / github.com/covscript/covscript / pointer>

Method pointer>

include/covscript/impl/type_ext.hpp:563–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561
562 template <>
563 cs::string_borrower to_string<cs::pointer>(const cs::pointer &ptr)
564 {
565 if (ptr == cs::null_pointer)
566 return "null";
567 else
568 return "cs::pointer => " + ptr.data.to_string().extract();
569 }
570
571 template <>
572 cs::string_borrower to_string<cs::type_id>(const cs::type_id &id)

Callers

nothing calls this directly

Calls 2

extractMethod · 0.80
to_stringMethod · 0.45

Tested by

no test coverage detected