Create a ThreadAttributes object having the same value as the specified original object.

Synopsis

Declared in <bslmt_threadattributes.h>

ThreadAttributes(
    ThreadAttributes 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.

Parameters

Name

Description

original

object whose value is copied

basicAllocator

memory allocator; null uses the default

Created with MrDocs