home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.std.c++
- Path: sparky!uunet!microsoft!hexnut!jimad
- From: jimad@microsoft.com (Jim Adcock)
- Subject: Re: Recursive templates
- Message-ID: <1992Nov20.004150.21737@microsoft.com>
- Date: 20 Nov 92 00:41:50 GMT
- Organization: Microsoft Corporation
- References: <Bxu3J4.F93@news.cso.uiuc.edu> <5225@holden.lulea.trab.se>
- Lines: 9
-
- In article <5225@holden.lulea.trab.se> jbn@lulea.trab.se (Johan Bengtsson) writes:
- |N-dimension matrixes should be possible to base on N-1-dimension matrixes,
- |with 1-dimensional matrixes (arrays) as the recursion-stopper.
- |
- |The details are left as an exercise for the reader (:-).
-
- Similarly there's the old example of recursively implementing a 2^n times-
- the-range LongInt class based on a 2^(n-1) times-the-range implementation.
-
-