Wes McKinney created ARROW-6276:
-----------------------------------

             Summary: [C++] Add operator[] to some concrete Array 
implementations?
                 Key: ARROW-6276
                 URL: https://issues.apache.org/jira/browse/ARROW-6276
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Wes McKinney
             Fix For: 0.15.0


I have occasionally been in situations where I want to pass in e.g. 
{{Int32Array}} or {{BooleanArray}} into a template that also can accept STL 
sequence types like {{std::vector<bool>}} -- in such cases the main API of 
interest is {{[]}}. Would there be interest in aliasing {{operator[]}} to 
return the result of {{GetView}} (or to deprecate {{GetView}} in favor of 
{{operator[]}})?



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to