BloombergLP::ball::Context::Context

Create a context object having the value of the specified original context object.

Synopsis

Declared in <ball_context.h>

Context(
    Context const& original,
    bslma::Allocator* basicAllocator = 0);

Description

Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. Note that basicAllocator is currently ignored.

Parameters

NameDescription
originalcontext object to copy
basicAllocatormemory allocator; null uses the default