|
rcpputils
master
C++ API providing common utilities and data structures.
|
Find and replace functionality for std::strings. More...
#include <memory>#include <string>
Go to the source code of this file.
Namespaces | |
| rcpputils | |
Functions | |
| template<class CharT , class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT>> | |
| std::basic_string< CharT, Traits, Allocator > | rcpputils::find_and_replace (const std::basic_string< CharT, Traits, Allocator > &input, const std::basic_string< CharT, Traits, Allocator > &find, const std::basic_string< CharT, Traits, Allocator > &replace) |
| Find and replace all instances of a string with another string. More... | |
| template<typename InputT , typename FindT , typename ReplaceT > | |
| auto | rcpputils::find_and_replace (InputT &&input, FindT &&find, ReplaceT &&replace) |
| Find and replace all instances of a string with another string. More... | |
Find and replace functionality for std::strings.
1.8.17