mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-11-14 10:39:05 +00:00
fix sprout::uuid::udl::_uuid
This commit is contained in:
parent
d7fbadb62c
commit
aa91f8ce29
1 changed files with 8 additions and 8 deletions
|
@ -15,17 +15,17 @@ namespace sprout {
|
||||||
//
|
//
|
||||||
// _uuid
|
// _uuid
|
||||||
//
|
//
|
||||||
SPROUT_CONSTEXPR sprout::uuids::uuid operator "" _uuid(char const* s, std::size_t) {
|
SPROUT_CONSTEXPR sprout::uuids::uuid operator "" _uuid(char const* s, std::size_t size) {
|
||||||
return sprout::uuids::string_generator()(s);
|
return sprout::uuids::string_generator()(s, s + size);
|
||||||
}
|
}
|
||||||
SPROUT_CONSTEXPR sprout::uuids::uuid operator "" _uuid(wchar_t const* s, std::size_t) {
|
SPROUT_CONSTEXPR sprout::uuids::uuid operator "" _uuid(wchar_t const* s, std::size_t size) {
|
||||||
return sprout::uuids::string_generator()(s);
|
return sprout::uuids::string_generator()(s, s + size);
|
||||||
}
|
}
|
||||||
SPROUT_CONSTEXPR sprout::uuids::uuid operator "" _uuid(char16_t const* s, std::size_t) {
|
SPROUT_CONSTEXPR sprout::uuids::uuid operator "" _uuid(char16_t const* s, std::size_t size) {
|
||||||
return sprout::uuids::string_generator()(s);
|
return sprout::uuids::string_generator()(s, s + size);
|
||||||
}
|
}
|
||||||
SPROUT_CONSTEXPR sprout::uuids::uuid operator "" _uuid(char32_t const* s, std::size_t) {
|
SPROUT_CONSTEXPR sprout::uuids::uuid operator "" _uuid(char32_t const* s, std::size_t size) {
|
||||||
return sprout::uuids::string_generator()(s);
|
return sprout::uuids::string_generator()(s, s + size);
|
||||||
}
|
}
|
||||||
} // namespace uuids
|
} // namespace uuids
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue