You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Weston Pace (Jira)" <ji...@apache.org> on 2021/05/05 02:05:00 UTC
[jira] [Created] (ARROW-12655) [C++] Enhance
arrow::internal::call_traits to support function pointers (and maybe ...?)
Weston Pace created ARROW-12655:
-----------------------------------
Summary: [C++] Enhance arrow::internal::call_traits to support function pointers (and maybe ...?)
Key: ARROW-12655
URL: https://issues.apache.org/jira/browse/ARROW-12655
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: Weston Pace
We are relying on call_traits in Future::Then to help type check the callables passed in. Adding support for function pointers would allow us to simplify code from
{code:java}
fut.Then([](const T& val) { return SomeCbFun(val); });{code}
to...
{code:java}
fut.Then(SomeCbFun);
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)