lang:cpp:array
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
lang:cpp:array [2023/02/03 11:05] – Création avec "Utilisation de array avec enum class" root | lang:cpp:array [2023/02/03 11:38] (Version actuelle) – Correction du code root | ||
---|---|---|---|
Ligne 8: | Ligne 8: | ||
| | ||
T& operator[](E e) { | T& operator[](E e) { | ||
- | return std:: | + | return std:: |
+ | | ||
} | } | ||
const T& operator[](E e) const { | const T& operator[](E e) const { | ||
- | return std:: | + | return std:: |
+ | | ||
} | } | ||
}; | }; | ||
Ligne 23: | Ligne 25: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | [[https:// |
lang/cpp/array.1675418722.txt.gz · Dernière modification : 2023/02/03 11:05 de root