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.
[ Parent
| on HN ]