Public Member Functions | Public Attributes | List of all members
absl::strings_internal::ViableSubstitution Struct Reference

#include <str_replace.h>

Public Member Functions

bool OccursBefore (const ViableSubstitution &y) const
 
 ViableSubstitution (absl::string_view old_str, absl::string_view replacement_str, size_t offset_val)
 

Public Attributes

size_t offset
 
absl::string_view old
 
absl::string_view replacement
 

Detailed Description

Definition at line 135 of file str_replace.h.

Constructor & Destructor Documentation

◆ ViableSubstitution()

absl::strings_internal::ViableSubstitution::ViableSubstitution ( absl::string_view  old_str,
absl::string_view  replacement_str,
size_t  offset_val 
)
inline

Definition at line 140 of file str_replace.h.

Member Function Documentation

◆ OccursBefore()

bool absl::strings_internal::ViableSubstitution::OccursBefore ( const ViableSubstitution y) const
inline

Definition at line 146 of file str_replace.h.

Member Data Documentation

◆ offset

size_t absl::strings_internal::ViableSubstitution::offset

Definition at line 138 of file str_replace.h.

◆ old

absl::string_view absl::strings_internal::ViableSubstitution::old

Definition at line 136 of file str_replace.h.

◆ replacement

absl::string_view absl::strings_internal::ViableSubstitution::replacement

Definition at line 137 of file str_replace.h.


The documentation for this struct was generated from the following file:


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:23