libzypp  17.37.5
string.h File Reference
#include <optional>
#include <zypp-core/base/String.h>
#include <boost/utility/string_view.hpp>
Include dependency graph for string.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 zyppng
 
 zyppng::str
 

Functions

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>>
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=" \, const Trim trim_r=Trim::NO_TRIM)