mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-01 13:45:53 +00:00
core: implement to_sstring(const char*)
This commit is contained in:
@@ -243,6 +243,12 @@ string_type to_sstring(unsigned long long value, void* = nullptr) {
|
||||
return to_sstring_sprintf(value, "%llu");
|
||||
}
|
||||
|
||||
template <typename string_type = sstring>
|
||||
inline
|
||||
string_type to_sstring(const char* value, void* = nullptr) {
|
||||
return string_type(value);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
inline
|
||||
std::ostream& operator<<(std::ostream& os, const std::vector<T>& v) {
|
||||
|
||||
Reference in New Issue
Block a user