Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-12655

[C++] Enhance arrow::internal::call_traits to support function pointers (and maybe ...?)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • C++
    • None

    Description

      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

      fut.Then([](const T& val) { return SomeCbFun(val); });

      to...

      fut.Then(SomeCbFun);
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            westonpace Weston Pace
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: