# libtmux::matching

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/filter_expr.hpp#L376
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-matching/

```
libtmux::matching(typename Entity, expr: FilterExpr< Entity >) -> typename Entity
```

`matching(expr)` is a range adaptor closure so it composes with std views.
