parse_enum

September 14, 2025 ยท View on GitHub

Shows how to use format xtd::parse method with enum values.

Sources

  • src/parse_enum.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 (with colors)

wednesday
wednesday
wednesday
Exception : invalid character found

Contents

  1. 1Sources
  2. 2Build and run