Constructors
Declared in <folly/math/ReproducibleAccumulator.h>
Default-constructs a zero-valued accumulator.
reproducible_accumulator() = default;
» more...
Copy-constructs an accumulator from another.
reproducible_accumulator(reproducible_accumulator const& other) = default;
» more...
Move-constructs an accumulator from another.
reproducible_accumulator(reproducible_accumulator&& other) = default;
» more...
Construct from an arithmetic scalar value NOTE: Casts x to the type of the binned fp
template<typename U>
requires std::is_arithmetic_v<U>
reproducible_accumulator(U const x);
» more...
| Name | Description |
|---|---|
| other | The accumulator to copy. |
| x | The value to accumulate. |