A generic Complex type

Chapter 3: Parameterized typing with generics: 3.6.2

Created: 2/24/2008
Last updated: 2/24/2008

Thanks to Marc Gravell's work on generic operators the idea of a Complex<T> type is no longer the realm of fantasy. It's still a lot of work, however, which is why it's so lovely that Marc's gone to the trouble of implementing it for us... He stresses that this hasn't been unit tested yet, but here it is in all its glory. (It relies on MiscUtil for generic operator support, of course.)