Skip to content

Commit 601ef66

Browse files
committed
Kicked out string_view overload
1 parent 13ebc8b commit 601ef66

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

include/libdbc/utils/utils.hpp

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -90,25 +90,6 @@ std::string trim(const T& value, const std::initializer_list<char>& trimChars)
9090
return trimmedValue;
9191
}
9292

93-
/**
94-
* @brief Trims the specified characters from the beginning and end of the given string.
95-
*
96-
* @tparam T The typeparam; must be stringable.
97-
* @param value The string to trim.
98-
* @param trimChars The characters to trim from the string.
99-
* @return A new string with the specified characters trimmed.
100-
*
101-
* @copyright 2025 Procyon Systems Inh. Simon Cahill (s.cahill@procyon-systems.de)
102-
*/
103-
#if __cplusplus >= 201703L
104-
# if __cpp_concepts >= 201907
105-
template<procsys_stringable T>
106-
# else
107-
template<typename T>
108-
# endif // __cpp_concepts >= 201907
109-
constexpr auto trim(const T& value, const std::string_view& trimChars) { return trim(value, std::initializer_list<char>(trimChars.begin(), trimChars.end())); }
110-
#endif // __cplusplus >= 201703L
111-
11293
/**
11394
* @brief Checks if the given string is empty or contains only whitespace characters.
11495
*

0 commit comments

Comments
 (0)