Remove unnecessary const in string_utils.hpp
This commit is contained in:
parent
82ea9d17a2
commit
e2eaf2edb8
1 changed files with 6 additions and 6 deletions
|
@ -4,11 +4,11 @@
|
|||
#include <string_view>
|
||||
#include <vector>
|
||||
|
||||
std::string remove_substring(const std::string_view string, const std::string_view substring);
|
||||
std::string replace_substring(const std::string_view string, const std::string_view substring, const std::string_view replacement);
|
||||
std::string remove_substring(std::string_view string, std::string_view substring);
|
||||
std::string replace_substring(std::string_view string, std::string_view substring, std::string_view replacement);
|
||||
|
||||
bool string_contains(const std::string_view a, const std::string_view b);
|
||||
bool string_starts_with(const std::string_view haystack, const std::string_view needle);
|
||||
bool is_numeric(const std::string_view string);
|
||||
bool string_contains(std::string_view a, std::string_view b);
|
||||
bool string_starts_with(std::string_view haystack, std::string_view needle);
|
||||
bool is_numeric(std::string_view string);
|
||||
|
||||
std::vector<std::string> tokenize(const std::string_view string, const std::string_view& delimiters = ",");
|
||||
std::vector<std::string> tokenize(std::string_view string, const std::string_view& delimiters = ",");
|
||||
|
|
Reference in a new issue