userver: userver/formats/serialize/boost_uuid.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
boost_uuid.hpp File Reference

Detailed Description

boost::uuids::uuid serializer to any format

Definition in file boost_uuid.hpp.

Go to the source code of this file.

#include <boost/uuid/uuid.hpp>
#include <string>
#include <userver/formats/serialize/to.hpp>
+ Include dependency graph for boost_uuid.hpp:

Namespaces

namespace  formats
 Value formats representation, parsing and serialization.
 
namespace  formats::serialize
 Common serializers.
 

Functions

template<typename Value >
Value formats::serialize::Serialize (const boost::uuids::uuid &value, To< Value >)
 Outputs UUID in format: 12345678-1234-1234-1234-123412345678.
 
template<typename StringBuilder >
void formats::serialize::WriteToStream (const boost::uuids::uuid &value, StringBuilder &sw)