Hi Is it possible to have boost function with unlimited arguments For example: boost::function <../boost/function.html> <float (int x, ...)> f; Thank you -------------------------------------------------------- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ --------------------------------------------------------
Doug Gregor wrote:
On Sep 21, 2005, at 2:33 PM, Labour, Matthieu (MLPRO SF) wrote:
Hi
Is it possible to have boost function with unlimited arguments
For example:
boost::function<float (int x, ...)> f;
Boost.Function does not support variable-length argument lists. Sorry!
Doug
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Hardly any of C++ supports variable arguments, though. (Try a function taking a few polymorphic pointers! Fun times!) Not Boost's fault
participants (3)
-
Doug Gregor
-
Labour, Matthieu (MLPRO SF)
-
Simon Buchan