
on Tue Oct 28 2008, "Stjepan Rajko" <stipe-AT-asu.edu> wrote:
What kind of difference in compile time are you seeing?
Nothing too dramatic. In the following experiment: http://article.gmane.org/gmane.comp.lib.boost.devel/178703
... the results for a simple test scenario gave the following times: user: [test_parameter_compilation.o] 0.000195 system: [test_parameter_compilation.o] 0.000030 user: [test_parameter_dispatch_compilation.o] 0.000555 system: [test_parameter_dispatch_compilation.o] 0.000041
test_parameter_compilation corresponds to using ArgumentPacks directly, and test_parameter_dispatch_compilation uses BOOST_PARAMETER_CONSTRUCTOR (perhaps for BOOST_PARAMETER_FUN the difference is even smaller or non-existent)
I presume you actually meant BOOST_PARAMETER_FUNCTION? -- Dave Abrahams BoostPro Computing http://www.boostpro.com