2020-02-03 03:39:26 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string_view>
|
|
|
|
|
|
|
|
namespace lokimq {
|
|
|
|
|
2020-05-12 20:33:59 +02:00
|
|
|
// Deprecated type alias for std::string_view
|
|
|
|
using string_view = std::string_view;
|
2020-02-03 03:39:26 +01:00
|
|
|
|
2020-05-12 20:33:59 +02:00
|
|
|
// Deprecated "foo"_sv literal; you should use "foo"sv (from <string_view>) instead.
|
2020-03-02 19:22:43 +01:00
|
|
|
inline namespace literals {
|
2020-05-12 20:33:59 +02:00
|
|
|
inline constexpr std::string_view operator""_sv(const char* str, size_t len) { return {str, len}; }
|
2020-03-02 19:22:43 +01:00
|
|
|
}
|
2020-05-12 20:33:59 +02:00
|
|
|
|
2020-03-02 19:22:43 +01:00
|
|
|
}
|