# libtmux::matching

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

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

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