# libtmux::lookup_of

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/legacy_lookup.hpp#L30
- **Page:** https://libtmux.org/reference/cxx/libtmux-lookup_of/

```
libtmux::lookup_of(name: std::string_view) -> expected< StringOp, LookupParseError >
```

`eq` is the implicit lookup, matching Python's bare `field=value`.

An empty name reaches here only from a key that carried no separator at all; a key ending in one is refused before this is asked.
