Span examples

June 24, 2026 ยท View on GitHub

This folder contains span examples used by Reference Guide and more.

  • span_from_memory Create a xtd::span from memory.
  • span_over_array Create a xtd::span over an array.

Build and run any project

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

xtdc run -t any_project_name