# libtmux::parent_of

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/relations.hpp#L51
- **Page:** https://libtmux.org/reference/cxx/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.
