#include <string>
#include <utility>
#include <vector>
#include "absl/base/attributes.h"
#include "absl/strings/string_view.h"
Go to the source code of this file.
Classes | |
struct | absl::strings_internal::ViableSubstitution |
Namespaces | |
namespace | absl |
namespace | absl::strings_internal |
Functions | |
int | absl::strings_internal::ApplySubstitutions (absl::string_view s, std::vector< ViableSubstitution > *subs_ptr, std::string *result_ptr) |
template<typename StrToStrMapping > | |
std::vector< ViableSubstitution > | absl::strings_internal::FindSubstitutions (absl::string_view s, const StrToStrMapping &replacements) |
ABSL_MUST_USE_RESULT std::string | absl::StrReplaceAll (absl::string_view s, std::initializer_list< std::pair< absl::string_view, absl::string_view >> replacements) |
template<typename StrToStrMapping > | |
std::string | absl::StrReplaceAll (absl::string_view s, const StrToStrMapping &replacements) |
int | absl::StrReplaceAll (std::initializer_list< std::pair< absl::string_view, absl::string_view >> replacements, std::string *target) |
template<typename StrToStrMapping > | |
int | absl::StrReplaceAll (const StrToStrMapping &replacements, std::string *target) |