| 261 | protected: |
| 262 | template <bool Flattened, typename T> |
| 263 | static auto DoGet(const T& root, const FieldPath& path, MemoryPool* pool = nullptr) { |
| 264 | if constexpr (Flattened) { |
| 265 | return path.GetFlattened(root, pool); |
| 266 | } else { |
| 267 | return path.Get(root); |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | template <typename I, bool Flattened = false> |
| 272 | void TestGetWithInvalidIndex() const { |
nothing calls this directly
no test coverage detected