rangesviewsselect

September 14, 2025 ยท View on GitHub

Shows how to use xtd::ranges::views::select_view class.

Sources

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

numbers = [2, 7, 3, 1, 4, 10, 5, 6, 8, 9]

Contents

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