Commit f47dfb8f authored by Pawel Karczewski's avatar Pawel Karczewski
Browse files

Remove recursion from rfind

Recursion on a long strings may cause stack overflow.
Previous implementation was tricky, as at first glance
rfind( CharT ch, size_type pos = npos ) overload is called and
everything is ok, but it calls
rfind(const CharT *s, size_type pos, size_type count) under the hood.
parent 83c05d77
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment