StringRef

#include <poplar/StringRef.hpp>
namespace poplar

Poplar classes and functions.

Functions

inline bool operator==(StringRef l, StringRef r)
inline bool operator!=(StringRef l, StringRef r)
inline bool operator<(StringRef l, StringRef r)
inline std::string operator+(StringRef l, StringRef r)
inline std::string &operator+=(std::string &s, StringRef r)
inline std::ostream &operator<<(std::ostream &os, const StringRef &s)
struct StringRef : public poplar::ArrayRef<char>

Public Functions

inline constexpr StringRef()
constexpr StringRef(const StringRef&) = default
StringRef(std::nullptr_t) = delete
inline StringRef(const std::string &s)
inline constexpr StringRef(const char *p, std::size_t len)
inline StringRef(const char *p)
template<std::size_t N>
inline constexpr StringRef(const char (&p)[N])
inline std::string cloneAsString() const
inline operator std::string() const