It is often considered good practice to use std::array instead of a plain C++ array. What is the preferred way to read data from a file stream into in std::array. I have seen one topic where it as suggested to use the data() member, bus as fat as I know this returns a const pointer.
Aucun commentaire:
Enregistrer un commentaire