2
0
mirror of https://github.com/boostorg/outcome.git synced 2026-02-02 09:02:11 +00:00

4 Commits

Author SHA1 Message Date
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b169c8205b Merging commit ned14/outcome@db728f98d6:
upd
2026-01-08 18:50:09 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e7805af0f1 Merging commit ned14/outcome@9b5743a715:
Update changelog and Rust recipe.
2025-05-01 23:28:01 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1e0a9ede31 Merging commit ned14/outcome@10eb45ca7d:
- Outcome.Experimental has had C representation support since the beginning, however it had
been mainly intended that C++ would originate Results, they would pass through C, and back
into C++. It hadn't really been expected that C would want to do much with Results other than
inspect them for happy or sad path.

 It turns out there is more demand than expected for a more functional Result from within C,
so this release adds the power to create Results in success and two types of failure, semantic
comparison of Results, and printing of Result messages. You can also wrap a C enum into a
quick status code from enum, allowing easy custom C error coding from 100% within C.

 [The documentation for the C support]({{% relref "../experimental/c-api" %}}) has been updated
to reflect the new facilities.
2024-07-16 21:03:04 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
10eb45ca7d - Outcome.Experimental has had C representation support since the beginning, however it had
been mainly intended that C++ would originate Results, they would pass through C, and back
into C++. It hadn't really been expected that C would want to do much with Results other than
inspect them for happy or sad path.

 It turns out there is more demand than expected for a more functional Result from within C,
so this release adds the power to create Results in success and two types of failure, semantic
comparison of Results, and printing of Result messages. You can also wrap a C enum into a
quick status code from enum, allowing easy custom C error coding from 100% within C.

 [The documentation for the C support]({{% relref "../experimental/c-api" %}}) has been updated
to reflect the new facilities.
2024-07-16 21:39:48 +01:00