parse_version
Parse the first line of tmux -V, with or without its trailing newline.
Source and package
- Qualified name
-
libtmux::parse _version - Namespace
- libtmux
- Package
- libtmux-cxx
- Source
- include/libtmux/version.hpp
- [[
C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.]] expected<Version, VersionError > parse_version(std::string output);_view -
- Parameters