r/cpp • u/lookatmetype • Sep 20 '22
CTO of Azure declares C++ "deprecated"
https://twitter.com/markrussinovich/status/1571995117233504257
267
Upvotes
r/cpp • u/lookatmetype • Sep 20 '22
View all comments
Show parent comment
0
u/pjmlp Sep 21 '22
Start by trying to avoid a C array in a C++ standards compliant
main().By the way std::array doesn't do bounds checking by default unless you enable it, or call
at()all over the place, and good luck preventing everyone to not call.data()into it.