Boost logo

Boost Users :

From: Foster, Gareth (gareth.foster_at_[hidden])
Date: 2005-01-05 13:38:49


> boost::is_function<int(int)>::value

> I know it's confusing. Most C++ programmers never see a function type
> in the wild. You can use remove_pointer to turn a pointer-to-function
> into a function.

Could I do ...

  int (int) * p_my_function_pointer;

Or some other such madness? I'm reading MSDN about the indirection operator
at the moment, maybe that will help to clear this up in my head. Can you
recommend a page on "function types".

Gaz

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net