| 151 | // access functions |
| 152 | template <typename T> |
| 153 | inline T Node::as() const { |
| 154 | if (!m_isValid) |
| 155 | throw InvalidNode(m_invalidKey); |
| 156 | return as_if<T, void>(*this)(); |
| 157 | } |
| 158 | |
| 159 | template <typename T, typename S> |
| 160 | inline T Node::as(const S& fallback) const { |
nothing calls this directly
no test coverage detected