userver: userver/formats/serialize/to.hpp Source File
⚠️ 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
to.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/formats/serialize/to.hpp
4/// @brief Helper for serializers.
5/// @ingroup userver_universal userver_formats_serialize
6
7USERVER_NAMESPACE_BEGIN
8
9namespace formats::serialize {
10
11/// @ingroup userver_universal userver_formats_serialize
12///
13/// An ADL helper that allows searching for `Serialize` functions in namespace
14/// `formats::serialize` additionally to the namespace of `T`.
15template <class T>
16struct To {};
17
18} // namespace formats::serialize
19
20USERVER_NAMESPACE_END