Skip to content

QuantumGate::Result::GetValue

Karel Donk edited this page Sep 5, 2018 · 3 revisions

Returns a reference to the value. This function doesn't first check if there is a value stored in the result object; use Succeeded() or HasValue() to check before using the value.

Signature

T& GetValue() noexcept;
const T& GetValue() const noexcept;

Return values

Returns a reference to the value stored in the result object.

Clone this wiki locally