41constexpr auto*
GetIf(Root&& root, Head&& head, Tail&&... tail) {
42 if constexpr (impl::kIsPointerLike<Root>) {
43 return root ?
utils::GetIf(*std::forward<Root>(root), std::forward<Head>(head), std::forward<Tail>(tail)...)
47 std::invoke(std::forward<Head>(head), std::forward<Root>(root)), std::forward<Tail>(tail)...