{"id":13440737,"url":"https://github.com/ned14/outcome","last_synced_at":"2026-03-17T14:18:56.870Z","repository":{"id":18075083,"uuid":"21137328","full_name":"ned14/outcome","owner":"ned14","description":"Provides very lightweight outcome\u003cT\u003e and result\u003cT\u003e (non-Boost edition)","archived":false,"fork":false,"pushed_at":"2025-04-01T01:46:59.000Z","size":198868,"stargazers_count":744,"open_issues_count":10,"forks_count":64,"subscribers_count":20,"default_branch":"develop","last_synced_at":"2025-04-06T23:12:34.406Z","etag":null,"topics":["boost","c-plus-plus"],"latest_commit_sha":null,"homepage":"https://ned14.github.io/outcome","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ned14.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ned14"}},"created_at":"2014-06-23T18:24:33.000Z","updated_at":"2025-03-31T20:10:17.000Z","dependencies_parsed_at":"2023-10-01T02:25:41.058Z","dependency_job_id":"50af85ce-1e93-4dfa-bc8e-8a1dd514a035","html_url":"https://github.com/ned14/outcome","commit_stats":null,"previous_names":[],"tags_count":184,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ned14%2Foutcome","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ned14%2Foutcome/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ned14%2Foutcome/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ned14%2Foutcome/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ned14","download_url":"https://codeload.github.com/ned14/outcome/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248819385,"owners_count":21166477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boost","c-plus-plus"],"created_at":"2024-07-31T03:01:25.684Z","updated_at":"2025-12-23T03:03:31.683Z","avatar_url":"https://github.com/ned14.png","language":"C++","readme":"\u003ctable width=\"100%\"\u003e\n\u003ctr\u003e\u003cth\u003emaster branch\u003cth\u003edevelop branch\n\u003ctr\u003e\u003ctd align=\"center\"\u003e\u003cimg src=\"https://github.com/ned14/outcome/workflows/Documentation/badge.svg?branch=master\"\u003e\u003ctd align=\"center\"\u003e\u003cimg src=\"https://github.com/ned14/outcome/workflows/Documentation/badge.svg?branch=develop\"\u003e\n\u003ctr\u003e\u003ctd align=\"center\"\u003e\u003cimg src=\"https://github.com/ned14/outcome/workflows/Installability/badge.svg?branch=master\"\u003e\u003ctd align=\"center\"\u003e\u003cimg src=\"https://github.com/ned14/outcome/workflows/Installability/badge.svg?branch=develop\"\u003e\n\u003ctr\u003e\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/ned14/outcome/actions?query=workflow%3A%22Unit+tests+Linux%22\"\u003e\u003cimg src=\"https://github.com/ned14/outcome/workflows/Unit%20tests%20Linux/badge.svg?branch=master\"\u003e\u003c/a\u003e\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/ned14/outcome/actions?query=workflow%3A%22Unit+tests+Linux%22\"\u003e\u003cimg src=\"https://github.com/ned14/outcome/workflows/Unit%20tests%20Linux/badge.svg?branch=develop\"\u003e\u003c/a\u003e\n\u003ctr\u003e\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/ned14/outcome/actions?query=workflow%3A%22Unit+tests+Mac+OS%22\"\u003e\u003cimg src=\"https://github.com/ned14/outcome/workflows/Unit%20tests%20Mac%20OS/badge.svg?branch=master\"\u003e\u003c/a\u003e\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/ned14/outcome/actions?query=workflow%3A%22Unit+tests+Mac+OS%22\"\u003e\u003cimg src=\"https://github.com/ned14/outcome/workflows/Unit%20tests%20Mac%20OS/badge.svg?branch=develop\"\u003e\u003c/a\u003e\n\u003ctr\u003e\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/ned14/outcome/actions?query=workflow%3A%22Unit+tests+Windows%22\"\u003e\u003cimg src=\"https://github.com/ned14/outcome/workflows/Unit%20tests%20Windows/badge.svg?branch=master\"\u003e\u003c/a\u003e\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/ned14/outcome/actions?query=workflow%3A%22Unit+tests+Windows%22\"\u003e\u003cimg src=\"https://github.com/ned14/outcome/workflows/Unit%20tests%20Windows/badge.svg?branch=develop\"\u003e\u003c/a\u003e\n\u003c/table\u003e\n\nCTest dashboard: https://my.cdash.org/index.php?project=Boost.Outcome\n\nAll tests passing source tarballs: https://github.com/ned14/outcome/releases\n\nDocumentation: https://ned14.github.io/outcome/\n\n\n## Purpose of this library\n\nOutcome is a C++14 library for reporting and handling function failures. It can be used as a substitute for, or a complement to, the exception handling mechanism.\n\nOne use case is for contexts where using C++ exception handling is unsuitable for different reasons:\n\n * The high relative cost of throwing and catching a C++ exception.\n * Making some or all control paths explicitly detailed to aid code correctness auditing, as opposed to having hidden control paths caused by exceptions potentially thrown from any place.\n * Company policy to compile with exceptions disabled.\n * Maintaining a code base that was never designed with exception-safety in mind.\n * Parts of the programs/frameworks that themselves implement exception handling and cannot afford to use exceptions, like propagating failure reports across threads, tasks, fibers…\n\n\n## Usage as a single header file\n\nOutcome v2 comes in single header file form. This is regenerated per commit. To fetch\non Linux:\n\n```\nwget https://github.com/ned14/outcome/raw/master/single-header/outcome.hpp\n```\n\nOn BSD:\n\n```\nfetch https://github.com/ned14/outcome/raw/master/single-header/outcome.hpp\n```\n\nIf you have `curl` installed:\n\n```\ncurl -O -J -L https://github.com/ned14/outcome/raw/master/single-header/outcome.hpp\n```\n\nOtherwise, simply download the raw file from above and place it wherever it suits you.\nIf you might be debugging using Microsoft Visual Studio, you may find the debugger\nvisualisation file at https://github.com/ned14/outcome/raw/master/include/outcome/outcome.natvis\nuseful to include into your build.\n\n## Commits and tags in this git repository can be verified using:\n\u003cpre\u003e\n-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v2\n\nmDMEVvMacRYJKwYBBAHaRw8BAQdAp+Qn6djfxWQYtAEvDmv4feVmGALEQH/pYpBC\nllaXNQe0WE5pYWxsIERvdWdsYXMgKHMgW3VuZGVyc2NvcmVdIHNvdXJjZWZvcmdl\nIHthdH0gbmVkcHJvZCBbZG90XSBjb20pIDxzcGFtdHJhcEBuZWRwcm9kLmNvbT6I\neQQTFggAIQUCVvMacQIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgAAKCRCELDV4\nZvkgx4vwAP9gxeQUsp7ARMFGxfbR0xPf6fRbH+miMUg2e7rYNuHtLQD9EUoR32We\nV8SjvX4r/deKniWctvCi5JccgfUwXkVzFAk=\n=puFk\n-----END PGP PUBLIC KEY BLOCK-----\n\u003c/pre\u003e\n\n\u003c/center\u003e\n","funding_links":["https://github.com/sponsors/ned14"],"categories":["HarmonyOS","Data Structures and Algorithms","C++"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fned14%2Foutcome","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fned14%2Foutcome","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fned14%2Foutcome/lists"}