- or download this
class Somesuch {
public void main(String[] arguments) {
...
}
}
- or download this
std::vector<Data> myArray;
...
for (int i = 0; i < myArray.size(); i++) {
process(&myArray[i]);
}
- or download this
for (std::vector<Data>::iterator i = myArray.begin();
i != myArray.end();
i++) {
process(&*i);
}
- or download this
for (@array) {
process($_);
}
- or download this
process($_) for (@array);