C strtok_r() for C++

What/how is C strtok_r() function equivalent in C++?
std::strtok.

You'd do better to use Boost's tokenizer.

https://www.boost.org/doc/libs/1_71_0/libs/tokenizer/doc/index.html
Or better yet use C++ string and some of the standard C++ string functions.
Topic archived. No new replies allowed.