From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,45b50f14dadfce5b X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,45b50f14dadfce5b X-Google-Attributes: gid102b75,public X-Google-Thread: 110292,45b50f14dadfce5b X-Google-Attributes: gid110292,public From: schow@bnr.ca (Stanley Chow) Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/02 Message-ID: <610mck$4fq@bcarh8ab.bnr.ca>#1/1 X-Deja-AN: 277374868 References: <6108a1$157@news-rocq.inria.fr> <610dd5$ia0$1@lyra.csx.cam.ac.uk> Organization: Bell-Northern Research Ltd. Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec In article <610dd5$ia0$1@lyra.csx.cam.ac.uk>, Nick Maclaren wrote: >In article <6108a1$157@news-rocq.inria.fr>, harley@pauillac.inria.fr (Robert Harley) writes: >|> Nick Maclaren (nmm1@cus.cam.ac.uk) writes: >|> >[...] The biggest problem with attempting this is that you can >|> >only 'const qualify' at the top level and, for efficient code-generation, >|> >you need to do it at other levels. >|> >|> Huh? What's wrong with 'double const*const*const triMat'? > >How do you get a 'double *** triMat' to that? You have to put a >cast in, which essentially says "don't do ANY checking", and would >be equally happy with a 'double ** triMat' or 'double **** triMat' >argument. Or if the "double ***" is a type macro somewhat that may or may not be changed from compile to compile. -- Stanley Chow; schow@nortel.ca, (613) 763-2831 Nortel/BNR, PO Box 3511 Station C, Ottawa, Ontario Me? Represent other people? Don't make them laugh so hard.