42#include <boost/algorithm/string.hpp>
71 void assign(
const std::string& aSource) {
assign(aSource.c_str(), aSource.size()); }
72 void assign(
const std::string_view& aSource) {
assign(aSource.data(), aSource.size()); }
73 void append(
const std::string& aSource) {
append(aSource.c_str(), aSource.size()); }
74 void append(
const std::string_view& aSource) {
append(aSource.data(), aSource.size()); }
81 return lhs.to_std_string_view() == rhs.to_std_string_view();
86 return lhs.to_std_string_view() <=> rhs.to_std_string_view();
111 inline std::ostream& operator<<(std::ostream& aStream,
const i_string& aString)
117 inline std::istream& operator>>(std::istream& aStream,
i_string& aString)
121 aString.
assign(temp.c_str(), temp.size());
virtual size_type size() const noexcept=0
void assign(const std::string &aSource)
i_string & operator=(const std::string &aOther)
virtual void append(const i_string &aOther)=0
virtual void replace_all(const i_string &aSearch, const i_string &aReplace)=0
virtual void assign(const i_string &aOther)=0
std::string_view to_std_string_view() const noexcept
virtual const value_type * c_str() const noexcept=0
void append(const std::string_view &aSource)
std::string to_std_string() const
void assign(const std::string_view &aSource)
void append(const std::string &aSource)
virtual i_string & operator=(const i_string &aOther)=0
std::partial_ordering operator<=>(const i_container< T, ConstIteratorType, IteratorType > &lhs, const i_container< T, ConstIteratorType, IteratorType > &rhs)
i_string & operator+=(i_string &lhs, const i_string &rhs)
bool operator()(const i_string &lhs, const i_string &rhs) const
bool operator()(const i_string &lhs, const i_string &rhs) const