From: "Claudio Bley" <bley@cs.uni-magdeburg.de>
To: John Love-Jensen <eljay@adobe.com>
Cc: <gcc-help@gcc.gnu.org>
Subject: Re: How to pass 2D variable-sized arrays in C++?
Date: Tue, 01 Oct 2002 06:45:00 -0000 [thread overview]
Message-ID: <15769.42410.283790.228949@wh2-19.st.uni-magdeburg.de> (raw)
In-Reply-To: <B9BF0AE4.4BC5%eljay@adobe.com>
>>>>> "John" == John Love-Jensen <eljay@adobe.com> writes:
>> OK, but what's your point here? We were talking about
>> dynamically sized 2D arrays where the dimension of the array
>> passed to `foo' is not known at compile time.
John> In that case, I refer back to my first answer: typedef
John> vector<vector<float> > myarray;
John> void foo(myarray& a) ...
Of course, I'd prefer that too - but I guess you don't always have the
choice.
--
Claudio Bley ASCII ribbon campaign (")
Debian GNU/Linux advocate - against HTML email X
http://www.cs.uni-magdeburg.de/~bley/ & vCards / \
next prev parent reply other threads:[~2002-10-01 13:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-30 14:48 Jason Mancini
2002-09-30 18:46 ` Claudio Bley
2002-10-01 4:59 ` John Love-Jensen
2002-10-01 6:04 ` Claudio Bley
2002-10-01 6:21 ` John Love-Jensen
2002-10-01 6:45 ` Claudio Bley [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-09-26 14:29 Jason Mancini
2002-09-26 8:33 Quang Nguyen (Ngo)
2002-09-25 19:36 Jason Mancini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15769.42410.283790.228949@wh2-19.st.uni-magdeburg.de \
--to=bley@cs.uni-magdeburg.de \
--cc=eljay@adobe.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).