parse_boolean

September 14, 2025 ยท View on GitHub

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

Sources

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

true
false
true
false
true
false
true
false
Exception : Invalid string format

Contents

  1. 1Sources
  2. 2Build and run