
12 Jul
2011
12 Jul
'11
12:55 a.m.
[Emil Dotchevski]
I'd appreciate warnings that catch bad pointers, but getting a warning just because I'm using a pointer is silly. What is the programmer expected to do? Be more careful?
I think the idea was that everyone would use make_checked_array_iterator() (or, for vector/array destinations, write to them directly instead of through pointers). During VC8, the idea was also that checking in release mode was totally cool and wouldn't be a big deal. I had... differences with that, which is why VC10 release mode performs no checking. STL