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

=___=
ну вот нахуй так жить, посоны?

=____________=

1. werehuman 05.03.2012 15:24 Psi+

ПИТОНОБЛЯДЬ ЗАКУКАРЕКАЛА

2. kuroneko 05.03.2012 15:24 Psi+

Enjoy your няшная.

3. ulidtkowerehuman /1 05.03.2012 15:31

ЧТО БОЛЬШЕ НЕЧЕГО СКАЗАТЬ, ТОЛЬКО ПРО ОТСТУПЫ КУКАРЕКАТЬ МОЖЕТЕ??

4. ulidtkowerehuman /1 05.03.2012 15:37

а, ок, тогда я покукарекаю тоже. Питон, питон, кокококококо.

Do you really want to delete ?