Why are our join() signatures taking const reference arguments? (question, not criticism) The documentation here:
http://threadingbuildingblocks.org/docs/help/reference/algorithms/parallel_reduce_func.htm doesn't suggest constness is required, and my understanding of the algorithm is that the argument will just get thrown away after it's joined in. But all of our existing join() methods are taking const arguments, which may just be due to commendable "I don't expect to change this so let's have the compiler warn me otherwise" paranoia, but which makes me suspicious that there may be a compatibility issue I don't know about with older TBB verisons. This is more than a theoretical question since the join() I'm extending now would be more efficient if it could use "move" type semantics with some of the argument's container contents. --- Roy ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel