Started by Apidcloud, November 16, 2012, 03:30:39 pm
int vec;for each(int &v in vec) v = 0;
#include "ClassX.h"// [...]ClassX *vecX;for each(ClassX &v in vecX) v = new ClassX();
ClassX *vecX;for each(ClassX* &v in vecX) v = new ClassX();
for each(ClassX* &v in vecX)
for each(ClassX &(*v) in vecX)
Quote from: winkioI do not speak to bricks, either as individuals or in wall form.
Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.
Quote from: BlizzardEh, I have no idea where that each operator/keyword comes from, but it's not standard C++.