MCPcopy Create free account
hub / github.com/Singular/Singular / VString

Method VString

kernel/oswrapper/vspace.h:737–741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

735
736public:
737 VString(const char *s) {
738 _len = strlen(s);
739 _buffer = vnew_uninitialized_array<char>(_len + 1);
740 strcpy(_buffer.as_ptr(), s);
741 }
742 VString(const char *s, size_t len) {
743 _len = len;
744 _buffer = vnew_uninitialized_array<char>(len + 1);

Callers

nothing calls this directly

Calls 1

as_ptrMethod · 0.45

Tested by

no test coverage detected