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(
12 const std::string& str,
13 USERVER_NAMESPACE::chaotic::convert::To<boost::uuids::uuid>);
14
15std::string Convert(const boost::uuids::uuid& uuid,
16 USERVER_NAMESPACE::chaotic::convert::To<std::string>);
17
18} // namespace chaotic::convert
19
20USERVER_NAMESPACE_END