Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-616

simplify bsoncxx/util/functor.hpp

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.0.0-rc0
    • None
    • Implementation
    • None

    Description

      I'm pretty sure the whole is_functor metafunction could be replaced by

      std::is_convertible<FunctionLike, std::function<R(Args...)>>::value
      

      Attachments

        Activity

          People

            adam.midvidy Adam Midvidy
            adam.midvidy Adam Midvidy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: