You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Uwe L. Korn (JIRA)" <ji...@apache.org> on 2019/01/15 16:12:00 UTC

[jira] [Commented] (ARROW-4268) [C++] Add C primitive to Arrow:Type compile time in TypeTraits

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

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

This is already (nearly) covered by {{arrow::stl::ConversionTraits}}. The intent here is to move that part into a more global header?

> [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)