You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/06/18 20:52:01 UTC
[jira] [Updated] (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 ]
ASF GitHub Bot updated ARROW-13097:
-----------------------------------
Labels: pull-request-available (was: )
> [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
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)