| 1717 | // Accessors for the variant |
| 1718 | auto get_parent() const { return get_value<const T*>(); } |
| 1719 | auto get_children() const { |
| 1720 | return get_value<const std::vector<std::shared_ptr<T>>*>(); |
| 1721 | } |
| 1722 | template <typename U> |
| 1723 | U get_value() const { |
| 1724 | auto ptr = std::get_if<U>(&parent_or_children_); |
nothing calls this directly
no outgoing calls
no test coverage detected