Searched refs:SumNonzero (Results 1 – 1 of 1) sorted by relevance
537 constexpr int SumNonzero(const int *p) { in SumNonzero() function538 return *p + (*p ? SumNonzero(p+1) : 0); in SumNonzero()543 static_assert(SumNonzero(arr) == 6, "");