Glossary: System Design Beyond the Basics in C++
assert
Also written: <cassert>
A C++ macro from `<cassert>` that stops the program with a message if its condition is false. If a test program reaches its last line, every assert passed.
Glossary: System Design Beyond the Basics in C++
Also written: <cassert>
A C++ macro from `<cassert>` that stops the program with a message if its condition is false. If a test program reaches its last line, every assert passed.