Return the product of values in Range starting from Init.
Synopsis
Declared in <llvm/ADT/STLExtras.h>
template<
typename R,
typename E = /* implementation-defined */>
auto
product_of(
R&& Range,
E Init = E{1});
Return Value
The product of values in Range starting from Init.
Parameters
Name |
Description |
Range |
Range whose values are multiplied. |
Init |
Initial value for the product (defaults to 1). |
Created with MrDocs