|
cxxomfort
rel.20210622
Simple backports for C++ - http://ryan.gulix.cl/fossil.cgi/cxxomfort/
|
Implementation of global string accessors for C++.This header adds global functions to access the functionality of the following std::string and sibling members:
More...
Namespaces | |
| cxxomfort | |
Namespace of the cxxomfort library. | |
Functions | |
| template<typename Ch , typename ChT , typename A > | |
| std::basic_string< Ch, ChT, A >::size_type | find (std::basic_string< Ch, ChT, A > const &str1, std::basic_string_view< Ch, ChT > const str2, size_t pos=0) CXXO_NOEXCEPT |
| Finds string str2 in str1 starting from index pos . | |
| template<typename Ch , typename ChT , typename A , typename R > | |
| std::basic_string< Ch, ChT, A >::size_type | find (std::basic_string< Ch, ChT, A > const &str1, R const &str2, size_t pos=0) CXXO_NOEXCEPT |
Finds string str2 (converted to basic_string_view ) in str1 starting from index pos . | |
| template<typename Ch , typename ChT > | |
| std::basic_string< Ch, ChT >::size_type | find (std::basic_string_view< Ch, ChT > const str1, std::basic_string_view< Ch, ChT > const str2, size_t pos=0) CXXO_NOEXCEPT |
| Finds string str2 in str1 starting from index pos . | |
| template<typename Ch , typename ChT , typename R > | |
| std::basic_string< Ch, ChT >::size_type | find (std::basic_string_view< Ch, ChT > const str1, R const &str2, size_t pos=0) CXXO_NOEXCEPT |
Finds string str2 (converted to basic_string_view ) in str1 starting from index pos . | |
Implementation of global string accessors for C++.
This header adds global functions to access the functionality of the following std::string and sibling members:
c_str() clear() compare (basic_string const&)compare (T)compare (pos, count, basic_string_view)replace (pos, count, basic_string_view)replace (begin, end, basic_string_view)substr (pos, count)copy (dest, count, pos)find (basic_string_view, pos)find (char, pos)rfind (basic_string_view, pos)rfind (char, pos)And global accessors to the following std::string_view and sibling members:
1.8.13