
On Fri, 15 Sep 2006 09:26:43 +0100 "Andy Little" <andy@servocomm.freeserve.co.uk> wrote:
"Manfred Doudar" <manfred.doudar@rsise.anu.edu.au> wrote in message news:20060915124632.096ed245@mathmcn.rsise.anu.edu.au...
On Fri, 15 Sep 2006 03:28:39 +0100
..Back to C++, kinda, yeah .. though for the inner_product (and this is where variadic template parameters would be a nice fit):
fusion::inner_product<SequenceA, SequenceB, ...> { /*...*/ }
(, or whatever the syntax was - forgot the exact semantics Doug Gregor implemented)
fusion::inner_product< SequenceA, SequenceB, FunctionSequenceA,FunctionSequenceB
{ /*...*/ }
?
No (, at least I don't see how) ... you'd expect the valid functions to be the operations sensible on sequences A&B both. With this in mind (sequences not variadics), it would be more reasonable to propose the following methinks: fusion::inner_product<SequenceA, SequenceB, FunctionSequence> { /*,,,*/ } Cheers, -- Manfred Doudar - Research Engineer National ICT Australia - Canberra Research Lab | www.nicta.com.au Research School of Information Sciences and Engineering (RSISE) The Australian National University - Canberra, ACT 0200 AUSTRALIA