[
https://issues.apache.org/jira/browse/ARROW-5508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16867739#comment-16867739
]
Benjamin Kietzman commented on ARROW-5508:
------------------------------------------
3. A separate out parameter of type {{bool*}}
{code}
template <typename T>
class Iterator {
public:
virtual ~Iterator() = default;
virtual Status Next(T* value, bool* done) = 0;
}
{code}
> [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
> Priority: Major
>
> 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)