ulidtko
05.03.2012 15:23
http://www.gotw.ca/publications/mill08.h...
// Example 1: Will this compile?
//
// in some library header
namespace N { class C {}; }
int operator+(int i, N::C) { return i+1; }
// a mainline to exercise it
#include <numeric>
int main() {
N::C a[10];
std::accumulate(a, a+10, 0);
}
> Well, at first glance, it sure looks legal. But will it compile? The answer is probably surprising: Maybe it will compile, or maybe not. It depends entirely on your implementation, and I know of standard-conforming implementations that will compile this program correctly and equally standard-conforming implementations that won't.
> Maybe it will compile, or maybe not
> depends on implementation
=___=
ну вот нахуй так жить, посоны?
=____________=
ПИТОНОБЛЯДЬ ЗАКУКАРЕКАЛА
Enjoy your няшная.
ЧТО БОЛЬШЕ НЕЧЕГО СКАЗАТЬ, ТОЛЬКО ПРО ОТСТУПЫ КУКАРЕКАТЬ МОЖЕТЕ??
а, ок, тогда я покукарекаю тоже. Питон, питон, кокококококо.