Hello, Is there a way to apply a binary operation over two sequences? For example, I have two sequences: LHSseq and RHSseq. I want now to construct the return type, which is a sequence that cointains the result types of applying a binary operation for every member of the sequences. Something like:
template< typename BOOST_MPL_AUX_VOID_SPEC_PARAM(LhsSequence) , typename BOOST_MPL_AUX_VOID_SPEC_PARAM(RhsSequence) , typename BOOST_MPL_AUX_VOID_SPEC_PARAM(BinaryOperation) > struct transform{..}; usage: typedef transform<LHSseq,RHSseq,someBinOp>::type result_type; Guarantees complexity O(n)? -- vladimir josef sykora morphochem AG gmunder str. 37-37a 81379 muenchen tel. ++49-89-78005-0 fax ++49-89-78005-555 [EMAIL PROTECTED] http://www.morphochem.de _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost