SyntaxFix
Write A Post
Hire A Developer
Questions
Pointers can be used like any other iterators:
int x[3] = {1, 2, 3}; std::vector<int> v(x, x + 3); test(v)