cpp-best-practices / cpp-best-practices/cppbestpractices
When/how to use asserts
Aperta
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 8.8k
- Fork
- 902
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
There's a really good point in [Style.md](https://github.com/lefticus/cppbestpractices/blob/master/03-Style.md) on how not to use asserts, but should we document when to use them as well? I think the c++ usage is quite different to other languages, where asserts are used for test code but not for dev code.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.