Using #ifndef NDEBUG to conditionally execute additional checks

In this recipe, we will learn how to leverage the NDEBUG macro, which stands for no debug. This recipe is important because most build systems automatically define this macro when a release or production build is compiled, which can be leveraged to disable debug logic when such a build is created.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset