parse_lookup
Parse one field[__lookup]=value term against a caller-supplied field table.
Source and package
- Qualified name
-
libtmux::parse _lookup - Namespace
- libtmux
- Package
- libtmux-cxx
- Source
- include/libtmux/legacy_lookup.hpp
- template <typename Entity> [[
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<FilterExpr <Entity>, LookupParse > parse_lookup( std::Error string term, std::_view span <const StringField <Entity>> fields);Handle -
Description#
The value is taken verbatim after the first
=, so a value containing=or__survives unchanged; only the key is split.- Type parameters
- Parameters
-
-
fields(std::span <const StringField <Entity>>) #Handle