23 #ifndef GUL14_REPLACE_H_
24 #define GUL14_REPLACE_H_
GUL_EXPORT std::string & replace_inplace(std::string &haystack, string_view needle, string_view hammer)
Replace all occurrences of a string within another string in-place.
Definition: replace.cc:53
GUL_EXPORT std::string replace(string_view haystack, string_view needle, string_view hammer)
Replace all occurrences of a string within another string, returning the result as a std::string.
Definition: replace.cc:29
basic_string_view< char > string_view
A view to a contiguous sequence of chars.
Definition: string_view.h:624
Definition of macros used internally by GUL.
Namespace gul14 contains all functions and classes of the General Utility Library.
Definition: doxygen.h:26
Provides a gul14::string_view that is fully compatible with C++17's std::string_view.