# libtmux::parent_of

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

```
libtmux::parent_of(typename Child, typename Parent, rows: const std::vector< Parent > &, foreign_key: StringFieldHandle< Child >, key: StringFieldHandle< Parent >) -> typename Child
```

The same join read the other way: the one row a child points at, or none.
