A
Alex Vinokur
Let v be an vector; for instance:
std::vector<double> v;
Is sequence &v[0], &v[1], ..., &v[v.size() - 1] a C/C++-array?
In other words,
Let foo() have the following prototype:
void (double* p, std::size_t arrarySize);
Is this calling is correct:
foo (&v[0], v.size()) ?
Alex Vinokur
std::vector<double> v;
Is sequence &v[0], &v[1], ..., &v[v.size() - 1] a C/C++-array?
In other words,
Let foo() have the following prototype:
void (double* p, std::size_t arrarySize);
Is this calling is correct:
foo (&v[0], v.size()) ?
Alex Vinokur