| 302 | */ |
| 303 | template <typename T, typename std::enable_if<IsSupported<T>(), bool>::type = true> |
| 304 | vtkParseResult Parse(T& output, const PredicateType& discardPred = DiscardWhitespace) |
| 305 | { |
| 306 | // Static check to prevent cryptic linker error |
| 307 | static_assert(IsSupported<T>(), "Unsupported type given to Parse function"); |
| 308 | return this->Context.Parse(output, discardPred); |
| 309 | } |
| 310 | |
| 311 | /** |
| 312 | * @brief Read data from the input stream until the perdicate is met. |