3 ms·
No, this is pure C++ (non-managed) thing. It is used strictly in read-only places. It makes absolutely no sense to use things like std::string (and allocate it
by c-smile 8y ago
No, this is pure C++ (non-managed) thing.
It is used strictly in read-only places. It makes absolutely no sense to use things like std::string (and allocate it each time) when you need to pass string or fragment of string or array to consumers.
For write-only access I also have target<T> that safely wraps all memcpy, memmove, strcpy[_s] cases.