Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void function(const void* ptr, size_t size);
- ...
- std::string x("abcd");
- function(x.data(), x.size());
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement