You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2021/06/18 13:58:00 UTC

[jira] [Assigned] (ARROW-13097) [C++] Provide a simple reflection utility for {{struct}}s

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

Ben Kietzman reassigned ARROW-13097:
------------------------------------

    Assignee: Ben Kietzman

> [C++] Provide a simple reflection utility for {{struct}}s
> ---------------------------------------------------------
>
>                 Key: ARROW-13097
>                 URL: https://issues.apache.org/jira/browse/ARROW-13097
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Ben Kietzman
>            Assignee: Ben Kietzman
>            Priority: Major
>
> In cases such as ARROW-13025 it's advantageous to avoid boilerplate when dealing with objects which are basic structs of data members. A simple reflection utility (get/set the value of a data member, print the name of a member to string) would allow writing functionality generically in terms of a tuple of properties, greatly reducing boilerplate.
> See a sketch of one such utility here https://gist.github.com/bkietz/7899f477e86df49f21ab17201c518d74



--
This message was sent by Atlassian Jira
(v8.3.4#803005)