Заменяем лишние if-проверки на assert для инвариантов кода в C/C++
Skip to content
Search for easy dinners, fashion, etc.
When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures.
Pin image

More about this Pin

Board containing this Pin

Selected board cover image
OOP
609 Pins
2mo
share.google

В коде часто встречаются проверки вида:void process(Config* config) { if (config == nullptr) { // Но config создается в этом же модуле! log_error("Co...
anolastanka
Lisa

Comments