Boost logo

Boost :

Subject: Re: [boost] [serialization] VC++ compiler warnings
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2011-07-11 20:55:11


[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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk