BloombergLP::baltzo::LocalDatetime::LocalDatetime

Create a LocalDatetime object having the same value as the specified original object, using the specified allocator to supply memory.

Synopsis

Declared in <baltzo_localdatetime.h>

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

Description

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

NameDescription
originalthe object to move from
allocatorthe allocator used to supply memory