unused2

July 6, 2026 ยท View on GitHub

Shows how to use unused_ keyword.

Sources

  • src/unused2.cpp
  • CMakeLists.txt

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output

foo constructor
foo constructor

Contents

  1. 1Sources
  2. 2Build and run
  3. 3Output