++ (, C) , , .
- NDEBUG, , , , . ( PRODUCTION, , , , .)
NDEBUG . <cassert>, <assert.h> C. , assert no-op, ++ .
, g++ -DNDEBUG myProg.cpp -o myProg , .
Please note that this is different from creating symbolic debugger support, which is controlled using -gGCC or other flags for other platforms.
source
share