[#BloombergLP-bslmt-ThroughputBenchmarkResult-2constructor-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThroughputBenchmarkResult.adoc[ThroughputBenchmarkResult]::ThroughputBenchmarkResult
:relfileprefix: ../../../
:mrdocs:

Create a `ThroughputBenchmarkResult` by moving with an allocator&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;throughputbenchmarkresult&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
ThroughputBenchmarkResult(
    xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;ThroughputBenchmarkResult&gt;] original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator);
----

== Description

Create a `ThroughputBenchmarkResult` object having the same value as the specified `original` object, using the specified `basicAllocator` to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period; The allocator of `original` remains unchanged&period; 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&semi; otherwise `original` is unchanged (and an exception may be thrown)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| object to move from
| *basicAllocator*
| allocator used to supply memory
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
