Obtaining member function/function object's operator() signature

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • psujkov@gmail.com

    Obtaining member function/function object's operator() signature

    Hi everybody,

    in addition to my previous question, first of all this :

    template<typena me F>
    void foo(const F& f)
    {
    std::cout << boost::function _traits<F>::ari ty << std::endl;

    }

    foo(f);

    was a great solution for a free functions, so thanks to everybody for
    answers :) but, alas, this is not a solution for both member functions
    and function objects : boost::function _traits cannot work with any of
    these types. any ideas ?..

    best regards, Paul Sujkov

  • psujkov@gmail.com

    #2
    Re: Obtaining member function/function object's operator() signature

    Thanks for anyone trying to workaround this (if there were any) ;)
    issue is solved, no answers are needed anymore...

    best regards, Paul Sujkov

    Comment

    Working...