I need to initialize a const array filled with smallest multiples of parameter A larger than numbers given as parameter B.
for now, I have something like this
template<std::size_t A, std::size_t... B>
class class_name
{
const int arr[sizeof...(B)] = {B...};
}
but instead of filling arr with values given in B, I want to fill it with smallest multiples of A that are larger than values given in B. Is it even possible?