dimanche 2 décembre 2018

Is there std::memset equivalent for std::array?

Is there a memset equivalent for std::array? I think memset is supposed to perform better when initializing an array to zero than looping over the array. I searched one for std::array but could not find anything online.

Aucun commentaire:

Enregistrer un commentaire