2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-02-01 08:32:14 +00:00
Files
leaf/examples/print_file

Print File Example

This directory has several versions of the same simple program (which reads a file, prints it to standard out and handles errors using LEAF) presented in the Five Minute Introduction, each using a different error handling style:

Using exception handling:

Using a result<T> type: