userver: userver/chaotic/io/boost/uuids/uuid.hpp Source File
Loading...
Searching...
No Matches
uuid.hpp
1#pragma once
2
3#include <boost/uuid/uuid.hpp>
4
5#include <userver/chaotic/convert/to.hpp>
6
7USERVER_NAMESPACE_BEGIN
8
9namespace chaotic::convert {
10
11boost::uuids::uuid Convert(const std::string& str, USERVER_NAMESPACE::chaotic::convert::To<boost::uuids::uuid>);
12
13std::string Convert(const boost::uuids::uuid& uuid, USERVER_NAMESPACE::chaotic::convert::To<std::string>);
14
15} // namespace chaotic::convert
16
17USERVER_NAMESPACE_END