Boost.Parameters: are static member functions possible somehow?

Hi, I can generate global and ordinary member functions with Boost.Parameters. But I would like to create static member functions. IS that somehow possible? I have looked at the macros of the library but I did not get any wiser :-(. So is it possible, and if so, how? TIA -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 web: www.askesis.nl

Joost Kraaijeveld wrote:
Hi,
I can generate global and ordinary member functions with Boost.Parameters. But I would like to create static member functions. IS that somehow possible? I have looked at the macros of the library but I did not get any wiser :-(.
So is it possible, and if so, how?
Yes, the macros support it by simply putting "static" before the function name. From the tests: BOOST_PARAMETER_MEMBER_FUNCTION((int), static f_static, tag, ... It seems like this was omitted from the docs. -- Daniel Wallin BoostPro Computing http://www.boostpro.com
participants (2)
-
Daniel Wallin
-
Joost Kraaijeveld