[ 
https://issues.apache.org/jira/browse/ARROW-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16744227#comment-16744227
 ] 

Uwe L. Korn commented on ARROW-4268:
------------------------------------

We can move stuff out from {{arrow::stl}} into the {{type_traits.h}} header. 
Currently it is not at that more central place as the stl functionality has not 
yet been a first class citizen in the projects. Most of Arrow's structures are 
built for runtime types, not compile-time types. We still need to support for 
those that already know their column types during compilation.

> [C++] Add C primitive to Arrow:Type compile time in TypeTraits
> --------------------------------------------------------------
>
>                 Key: ARROW-4268
>                 URL: https://issues.apache.org/jira/browse/ARROW-4268
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Francois Saint-Jacques
>            Assignee: Francois Saint-Jacques
>            Priority: Minor
>             Fix For: 0.13.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The user would use something like
> {code:c++}
> ...
> using ArrowType = CTypeTraits<int64>::ArrowType;
> using ArrayType = CTypeTraits<int64>::ArrayType;
> auto type = CTypeTraits<int64>::type_singleton();
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to