A helper struct to multiply two numbers.
More...
#include <indexing.hpp>
|
template<typename A , typename B > |
static constexpr auto | multiply (A const a, B const b) |
|
template<bool B_IS_ONE>
struct LvArray::indexing::ConditionalMultiply< B_IS_ONE >
A helper struct to multiply two numbers.
- Template Parameters
-
B_IS_ONE | If true the multiplication is skipped. |
Definition at line 37 of file indexing.hpp.
◆ multiply()
template<bool B_IS_ONE>
template<typename A , typename B >
- Template Parameters
-
A | The type of a . |
B | the type of b . |
- Returns
- Return the product of
a
and b
.
- Parameters
-
a | The left multiplication operand. |
b | The right multiplication operand. |
Definition at line 47 of file indexing.hpp.
The documentation for this struct was generated from the following file: