Skip to content
#

offline-rendering

Here are 11 public repositories matching this topic...

Karry
Karry commented Mar 28, 2022

Hi, I believe that using if constexpr (debugFlag) has many benefits in comparison of #ifdef.

  • it is more readable IMHO
  • static analyzers see the code in condition block, so refactoring is simpler, compilation fails when code is not correct even when condition is false...

![Screenshot_20220328_122131](https://user-images.githubusercontent.com/309458/160378310-9eb404fa-848b-4784-a1fc-

enhancement build good first issue

Improve this page

Add a description, image, and links to the offline-rendering topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the offline-rendering topic, visit your repo's landing page and select "manage topics."

Learn more