From: John Maddock (john_at_[hidden])
Date: 2005-10-08 11:49:59
> I propose a collection of complex utilities. This would include:
> 1) is_complex
> 2) scalar
> 3) A collection of iterator adapters:
> 3.1) Transform complex sequence to scalar (yield alternating
> real/imag parts)
> 3.2) Inverse of 3.1
> 3.3) Pick off real part of complex
> 3.4) Pick off imag part of complex
> 3.5) zip 2 scalar sequences into complex sequence
> I have code based on boost iterator adapter for all the above.
All sound useful, but we're not really talking type traits anymore :-)
Sounds like a new submission to the Math lib maybe?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk