forward_iterable

July 19, 2026 ยท View on GitHub

Shows how to use xtd::forward_iterable concept.

Sources

  • src/forward_iterable.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

 2
 4
 6
 8
10
18
21
24
27
30
44
48
52
56
60

Contents

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