You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AQuery/server/utils.h

19 lines
389 B

2 years ago
#pragma once
2 years ago
#include <ctime>
#include <type_traits>
2 years ago
#include <string>
2 years ago
#if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L)
constexpr static bool cpp_17 = true;
#else
constexpr static bool cpp_17 = false;
#endif
2 years ago
2 years ago
template <class T>
2 years ago
inline const char* str([[maybe_unused]] const T& v) {
2 years ago
return "";
}
2 years ago
extern std::string base62uuid(int l = 6);