[ https://issues.apache.org/jira/browse/ARROW-5508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16856229#comment-16856229 ]
Liya Fan commented on ARROW-5508: --------------------------------- [~wesmckinn], thanks for the good point. What is the standard way to know if there is a next element in the iterator? > [C++] Create reusable Iterator<T> interface > -------------------------------------------- > > Key: ARROW-5508 > URL: https://issues.apache.org/jira/browse/ARROW-5508 > Project: Apache Arrow > Issue Type: Improvement > Components: C++ > Reporter: Wes McKinney > Assignee: Wes McKinney > Priority: Major > Fix For: 0.14.0 > > > We have various iterator-like classes. I envision a reusable interface like > {code} > template <typename T> > class Iterator { > public: > virtual ~Iterator() = default; > virtual Status Next(T* out) = 0; > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)