userver
C++ Async Framework
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 May 15 2024 22:32:08 for userver by
Doxygen
1.10.0