Way to go, contributors!

I was away from the forums for several months a while ago. Since coming back, I've noticed that questions are answered more quickly and the answers are generally higher quality. So I just wanted to say "atta-boy / atta-girl" to all the people who answer questions here.
Welcome back! (Also, Handy Andy does so much answering, good for him.)
1
2
3
4
5
6
7
8
for(auto const& user : forum)
{
	user.sendSpam(dhayden, "bon retour par minou \o/");
}
for(auto const& post : forum)
{
	sendIfNewerThanThreeMonths(dhayden, post);
}


You went away so long that C++ has also changed ! now you can get different things from a container, you don't even have to specify the type of thing you want, the compiler knows it from the temporary variable name ! :oD~

It also becomes ruby-ish...
1
2
3
4
for each user of forum
{
	user sendSpamTo dhayden;
}
Last edited on
Topic archived. No new replies allowed.