What is the problem adapting pair of iterators to scalar vectors to produce
an iterator with complex value type?

I am sure both old and new iterator adaptor easily allows it.

Gennadiy.

> -----Original Message-----
> From: Neal D. Becker [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 06, 2003 1:31 PM
> To: [EMAIL PROTECTED]
> Subject: [boost] Iterator adaptor question
> 
> 
> Some time back I mentioned I was interested in iterator 
> adaptors to convert 
> between vectors of complex and scalar.  I have looked at 
> using the iterator 
> adaptor framework in boost.  It appears that it is easy 
> enough to adapt from 
> a complex sequence to pick off either the real or imaginary 
> part, but going 
> the other direction is not feasible?
> 
> You would need to adapt from a pair of iterators over scalars 
> to output an 
> iterator over complex.
> 
> Will the "new" iterator adaptor framework help?
> 
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to