I've seen implementations of std::array where all members are public. This, however, does not mean that the underlying array should be directly referred to. I know that the standard way of accessing the underlying array is through std::array::data().
Is there a specification from the ISO C++ standard that describes the attempt of directly accessing (referring to) the underlying array?
Aucun commentaire:
Enregistrer un commentaire