Loving C++11 syntactic sugar
Isn't that beautiful?vector<Image> images;
images.emplace_back("i2.tif");//!!!
images.emplace_back("i1.tif");//!!!
for (auto& img : images) //!!!
{
//Do something
img.edge(4);
img.normalize();
img.write( img.fileName() + ".debug.jpg" );
}
Life was so hard in pre-11 times...