
28 Jan
2009
28 Jan
'09
7:50 p.m.
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