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)

Reply via email to