userver: formats::common::TransferTag Class Reference
Loading...
Searching...
No Matches
formats::common::TransferTag Class Referencefinal

#include <userver/formats/common/transfer_tag.hpp>

Detailed Description

This tag class is used to move a ValueBuilder object without copying.

Unlike the move-constructor, if the object points to a subtree, only the pointer is copied. Note that storing the resulting ValueBuilder in a container for a long period of time will cause a "memory leak": the child ValueBuilder will hold the entire original tree, starting from the root.

Definition at line 17 of file transfer_tag.hpp.


The documentation for this class was generated from the following file: