Create a LocalTimeDescriptor by moving from the specified original using the specified allocator.

Synopsis

Declared in <baltzo_localtimedescriptor.h>

LocalTimeDescriptor(
    bslmf::MovableRef<LocalTimeDescriptor> original,
    allocator_type const& allocator);

Description

Create a LocalTimeDescriptor object having the same value as the specified original object, using the specified allocator (e.g., the address of a bslma::Allocator object) to supply memory. The allocator of original remains unchanged. If original and the newly created object have the same allocator then the value of original becomes unspecified but valid, and no exceptions will be thrown; otherwise original is unchanged and an exception may be thrown.

Parameters

Name

Description

original

the object to move from

allocator

the allocator used to supply memory

Created with MrDocs