BSD Ports

devel/outcome 2.2.15 FreeBSD

C++14 library for reporting and handling function failures

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20
Categories
devel
Package size
102.9 KiB, 1166.5 KiB installed

Description

Outcome 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.

One use case is for contexts where using C++ exception handling is unsuitable for different reasons: * The high relative cost of throwing and catching a C++ exception. * 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. * Company policy to compile with exceptions disabled. * Maintaining a code base that was never designed with exception-safety in mind. * Parts of the programs/frameworks that themselves implement exception handling and cannot afford to use exceptions, like propagating failure reports across threads, tasks, fibers.

In the other systems

The newest version among them is 2.2.15, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDdevel/outcome2.2.15 newestnone known-[email protected]-
HardenedBSDdevel/outcome2.2.15 newestno data-[email protected]-
GhostBSDdevel/outcome2.2.15 newestno data-[email protected]-

Install

Binary package:

pkg install outcome

From the ports tree:

cd /usr/ports/devel/outcome/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	outcome>0:devel/outcome

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.2.152.2.15-2.2.122.2.15
FreeBSD:14:quarterly2.2.152.2.15n/a2.2.122.2.15
FreeBSD:15:latest2.2.152.2.15n/a2.2.122.2.12
FreeBSD:15:quarterly2.2.152.2.15n/an/an/a
FreeBSD:16:latest2.2.152.2.15n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
cmake:testing compiler:c++14-lang
Service scripts
none

Files

pkg-plist 89
  • include/outcome.hpp
  • include/outcome/bad_access.hpp
  • include/outcome/basic_outcome.hpp
  • include/outcome/basic_result.hpp
  • include/outcome/boost_outcome.hpp
  • include/outcome/boost_result.hpp
  • include/outcome/config.hpp
  • include/outcome/convert.hpp
  • include/outcome/coroutine_support.hpp
  • include/outcome/detail/basic_outcome_exception_observers.hpp
  • include/outcome/detail/basic_outcome_exception_observers_impl.hpp
  • include/outcome/detail/basic_outcome_failure_observers.hpp
  • include/outcome/detail/basic_result_error_observers.hpp
  • include/outcome/detail/basic_result_final.hpp
  • include/outcome/detail/basic_result_storage.hpp
  • include/outcome/detail/basic_result_value_observers.hpp
  • include/outcome/detail/coroutine_support.ipp
  • include/outcome/detail/revision.hpp
  • include/outcome/detail/trait_std_error_code.hpp
  • include/outcome/detail/trait_std_exception.hpp
  • include/outcome/detail/try.h
  • include/outcome/detail/value_storage.hpp
  • include/outcome/detail/version.hpp
  • include/outcome/experimental/coroutine_support.hpp
  • include/outcome/experimental/result.h
  • include/outcome/experimental/status-code/include/status-code/boost_error_code.hpp
  • include/outcome/experimental/status-code/include/status-code/com_code.hpp
  • include/outcome/experimental/status-code/include/status-code/config.hpp
  • include/outcome/experimental/status-code/include/status-code/detail/nt_code_to_generic_code.ipp
  • include/outcome/experimental/status-code/include/status-code/detail/nt_code_to_win32_code.ipp
  • include/outcome/experimental/status-code/include/status-code/detail/win32_code_to_generic_code.ipp
  • include/outcome/experimental/status-code/include/status-code/error.hpp
  • include/outcome/experimental/status-code/include/status-code/errored_status_code.hpp
  • include/outcome/experimental/status-code/include/status-code/generic_code.hpp
  • include/outcome/experimental/status-code/include/status-code/getaddrinfo_code.hpp
  • include/outcome/experimental/status-code/include/status-code/http_status_code.hpp
  • include/outcome/experimental/status-code/include/status-code/iostream_support.hpp
  • include/outcome/experimental/status-code/include/status-code/nested_status_code.hpp
  • include/outcome/experimental/status-code/include/status-code/nt_code.hpp
  • include/outcome/experimental/status-code/include/status-code/posix_code.hpp
  • include/outcome/experimental/status-code/include/status-code/quick_status_code_from_enum.hpp
  • include/outcome/experimental/status-code/include/status-code/result.hpp
  • include/outcome/experimental/status-code/include/status-code/status_code.hpp
  • include/outcome/experimental/status-code/include/status-code/status_code_domain.hpp
  • include/outcome/experimental/status-code/include/status-code/status_error.hpp
  • include/outcome/experimental/status-code/include/status-code/std_error_code.hpp
  • include/outcome/experimental/status-code/include/status-code/system_code.hpp
  • include/outcome/experimental/status-code/include/status-code/system_code_from_exception.hpp
  • include/outcome/experimental/status-code/include/status-code/system_error2.hpp
  • include/outcome/experimental/status-code/include/status-code/win32_code.hpp
  • include/outcome/experimental/status-code/single-header/system_error2-nowindows.hpp
  • include/outcome/experimental/status-code/single-header/system_error2.hpp
  • include/outcome/experimental/status_outcome.hpp
  • include/outcome/experimental/status_result.hpp
  • include/outcome/experimental/wg14_result/include/wg14_result/all.h
  • include/outcome/experimental/wg14_result/include/wg14_result/all.hpp
  • include/outcome/experimental/wg14_result/include/wg14_result/config.h
  • include/outcome/experimental/wg14_result/include/wg14_result/result.h
  • include/outcome/experimental/wg14_result/include/wg14_result/status_code.h
  • include/outcome/experimental/wg14_result/include/wg14_result/status_code_domain.h
  • include/outcome/experimental/wg14_result/include/wg14_result/status_code_generic.h
  • include/outcome/experimental/wg14_result/include/wg14_result/status_code_posix.h
  • include/outcome/experimental/wg14_result/include/wg14_result/status_code_system.h
  • include/outcome/experimental/wg14_result/include/wg14_result/try.h
  • include/outcome/experimental/wg14_result/test/test_common.h
  • include/outcome/experimental/wg14_result/test/ticks_clock.h
  • include/outcome/iostream_support.hpp
  • include/outcome/iostream_support_result.hpp
  • include/outcome/outcome.hpp
  • include/outcome/outcome.natvis
  • include/outcome/outcome_gdb.h
  • include/outcome/policy/all_narrow.hpp
  • include/outcome/policy/base.hpp
  • include/outcome/policy/fail_to_compile_observers.hpp
  • include/outcome/policy/outcome_error_code_throw_as_system_error.hpp
  • include/outcome/policy/outcome_exception_ptr_rethrow.hpp
  • include/outcome/policy/result_error_code_throw_as_system_error.hpp
  • include/outcome/policy/result_exception_ptr_rethrow.hpp
  • include/outcome/policy/terminate.hpp
  • include/outcome/policy/throw_bad_result_access.hpp
  • include/outcome/result.hpp
  • include/outcome/std_outcome.hpp
  • include/outcome/std_result.hpp
  • include/outcome/success_failure.hpp
  • include/outcome/trait.hpp
  • include/outcome/try.hpp
  • include/outcome/utils.hpp
  • lib/cmake/outcome/outcomeConfig.cmake
  • lib/cmake/outcome/outcomeExports.cmake
distinfo 3
FileSizeSHA256
ned14-outcome-v2.2.15_GH0.tar.gz2.461295e+067da2314c3f3ee6fac2e2b3229c46cc4b5d3c86fa2f7d561e7dab72e4a93783fd
ned14-status-code-937b0fc_GH0.tar.gz177015a18fb0910f0c8672ca88aae33fa4e3be558caf25f22e4d4d529b2d667be36879
ned14-wg14_result-f34e89b_GH0.tar.gz1701506f31c1649ddbce3a7cefdb4aa0747bd5d2bfd653e5b6e54185466b1054d6d2a7

Commit history 0

No commits in the history this site was built from.