expected
A value or the reason there is not one.
Source and package
- Qualified name
-
libtmux::expected - Namespace
- libtmux
- Package
- libtmux-cxx
- Source
- include/libtmux/expected.hpp
- type libtmux::expected : std::
expected <Value, Error> -
Description#
std::expectedwhere the standard library has it, and a drop-in otherwise, so a caller writes the same code either way. Nothing in this library throws to report a tmux failure.