News for hackers. Stuff that matters.
Re:Zeroing Memory is Hard: VC++ 2015 arrays by lorenzhs on Monday July 18, 2016 @11:22AM (#12115591)
Most STL containers with the default allocator will always initialise memory (some, like std::array, don't iirc). That's a feature. If you don't want it, then you'll have to use your own allocator or container. Both bring changes throughout the codebase, unfortunately.
Re:Zeroing Memory is Hard: VC++ 2015 arrays by TillE on Monday July 18, 2016 @12:13PM (#12115953)
> Both bring changes throughout the codebase, unfortunately.

That's where auto often helps. Lets you change types as long as you don't break the interface.