userver: formats::common::TransferTag Class Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
formats::common::TransferTag Class Referencefinal

Your opinion will help to improve our service

Leave a feedback >

Table of Contents

#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: