home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!alf.uib.no!nymfe!s026
- From: s026@brems.ii.uib.no (Paal K Holmberg)
- Subject: Re: operator [][]
- Message-ID: <1992Nov9.114516.29846@alf.uib.no>
- Sender: usenet@alf.uib.no (Bergen University Newsaccount)
- Organization: University of Bergen, Norway
- References: <BxFt8r.2Kt@cs.columbia.edu> <1992Nov9.095352.19114@fmrco.uucp>
- Date: Mon, 9 Nov 92 11:45:16 GMT
- Lines: 32
-
- In article <1992Nov9.095352.19114@fmrco.uucp>, pandrews@lovat.fmrco.com (Paul Andrews) writes:
- |>
- |> (apologies if the syntax of the expanded function calls isn't quite correct).
- |>
- |> (I would be interested to know if anyone has any other ways of doing this).
- |>
- |> (Is there any standard nomenclature for classes like C and B above? something like
- |> classB is a slave class, classC is a functor or what?)
- |>
- |> ---
- |> ---
- |> Paul Andrews
-
- since it os a trouble to get around mutiple []'s , you can always cheat and use a
- normal function element(int x,int y...) to get a certain element in the matrix or whatever.
- I agree it is not as elgant as the [] approach, but it is easy.
-
- --
- Paal Krebs Holmberg
- UiB
- Norway
-
- "To program, or not to program - thats not a question " ;-)
-
- |
- |
- |
- (n)
- X-----====(.i.)====-----X
- X +++ X
- ~
- Good flying,and check six
-