#include <optional>
#include <zypp-core/base/String.h>
#include <boost/utility/string_view.hpp>
Go to the source code of this file.
|
template<typename T > |
std::optional< T > | zyppng::str::safe_strtonum (const std::string_view &val) |
|
template<typename StrType , typename T = std::remove_reference_t<StrType>> |
T | zyppng::str::trim (StrType &&s, const Trim trim_r) |
|
template<class TOutputIterator > |
void | zyppng::str::split (const boost::string_view &line_r, TOutputIterator result_r, const boost::string_view &sepchars_r=" \t", const Trim trim_r=Trim::NO_TRIM) |
|