userver
C++ Async Framework
Toggle main menu visibility
Documentation
API Groups
Namespaces
Reference
Class List
Class Index
File List
Macros
All
e
i
l
r
t
u
Functions
Macros
e
i
l
r
t
u
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
transfer_tag.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/formats/common/transfer_tag.hpp
4
/// @brief @copybrief formats::common::TransferTag
5
6
USERVER_NAMESPACE_BEGIN
7
8
namespace
formats
::
common
{
9
10
/// @brief This tag class is used to move a `ValueBuilder` object without
11
/// copying
12
///
13
/// Unlike the move-constructor, if the object points to a subtree, only the
14
/// pointer is copied. Note that storing the resulting `ValueBuilder` in a
15
/// container for a long period of time will cause a "memory leak": the child
16
/// `ValueBuilder` will hold the entire original tree, starting from the root.
17
class
TransferTag
final
{};
18
19
}
// namespace formats::common
20
21
USERVER_NAMESPACE_END
userver
formats
common
transfer_tag.hpp
Generated on Wed Apr 30 2025 15:48:43 for userver by
Doxygen
1.13.2