You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/09/16 14:00:00 UTC

[jira] [Updated] (ARROW-6558) [C++] Refactor Iterator to a type erased handle

     [ https://issues.apache.org/jira/browse/ARROW-6558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-6558:
----------------------------------
    Labels: pull-request-available  (was: )

> [C++] Refactor Iterator to a type erased handle
> -----------------------------------------------
>
>                 Key: ARROW-6558
>                 URL: https://issues.apache.org/jira/browse/ARROW-6558
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Benjamin Kietzman
>            Assignee: Benjamin Kietzman
>            Priority: Major
>              Labels: pull-request-available
>
> Since {{Iterator<T>}} is used as a base class for exported classes and is instantiated in both arrow.dll and arrow_dataset.dll we get multiple definition errors. The solution taken by MSVC's stl implementation in the similar case of {{std::function}} is type erasure. Since it's not a base class MSVC doesn't force public visibility of its members. 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)