MetaPhysicL icon indicating copy to clipboard operation
MetaPhysicL copied to clipboard

Explicit "= T()" constructions should zero-initialize data

Open roystgnr opened this issue 6 years ago • 0 comments

#11 fixes this for NumberArray, as discussed in comments there, but previously (at least in the non-sparse NumberVector, if no other classes) I'd been trying to allow users to create uninitialized numeric objects intentionally and I hadn't realized the API could allow unintentionally uninitialized data as well.

roystgnr avatar Aug 22 '18 20:08 roystgnr