10inline auto replaceInplace = [] ( std::string & str,
const std::string & what,
const std::string & with ) {
13 while ( ( index = str.find ( what, index ) ) != std::string::npos ) {
14 str.replace ( index, what.length ( ), with );
15 index += with.length ( );
19inline auto replace = [] ( std::string str,
const std::string & what,
const std::string & with ) {
Definition: converterCommon.hpp:8
auto replaceInplace
Definition: converterCommon.hpp:10
auto replace
Definition: converterCommon.hpp:19