Create a record JSON formatter by moving from original using the specified allocator.
Synopsis
Declared in <ball_recordjsonformatter.h>
RecordJsonFormatter(
bslmf::MovableRef<RecordJsonFormatter> original,
allocator_type const& allocator);
Description
Create a record JSON formatter, having the same format specification and record separator as in the specified original formatter. The format specification of original is moved to the new object, and all outstanding memory allocations and the specified allocator are adopted if allocator == original.get_allocator(). original is left in a valid but unspecified state.
Parameters
Name |
Description |
original |
formatter to move from |
allocator |
memory allocator used to supply memory |
Created with MrDocs