Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

typealias libtmux-cxx latest

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::expected where 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.

Esc

Type to search.

Reference previewOpen reference