Sourcemeta Core 0.0.0
Loading...
Searching...
No Matches
crypto_uuid.h
1#ifndef SOURCEMETA_CORE_CRYPTO_UUID_H_
2#define SOURCEMETA_CORE_CRYPTO_UUID_H_
3
4#ifndef SOURCEMETA_CORE_CRYPTO_EXPORT
5#include <sourcemeta/core/crypto_export.h>
6#endif
7
8#include <string> // std::string
9#include <string_view> // std::string_view
10
11namespace sourcemeta::core {
12
24SOURCEMETA_CORE_CRYPTO_EXPORT auto uuidv4() -> std::string;
25
41SOURCEMETA_CORE_CRYPTO_EXPORT
42auto is_uuid_like(const std::string_view value) -> bool;
43
44} // namespace sourcemeta::core
45
46#endif
SOURCEMETA_CORE_CRYPTO_EXPORT auto is_uuid_like(const std::string_view value) -> bool
SOURCEMETA_CORE_CRYPTO_EXPORT auto uuidv4() -> std::string