From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5927 invoked by alias); 1 Oct 2002 13:21:52 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 5916 invoked from network); 1 Oct 2002 13:21:50 -0000 Received: from unknown (HELO smtp-relay-1.adobe.com) (192.150.11.1) by sources.redhat.com with SMTP; 1 Oct 2002 13:21:50 -0000 Received: from inner-relay-2.corp.adobe.com (inner-relay-2 [153.32.1.52]) by smtp-relay-1.adobe.com (8.12.3/8.12.3) with ESMTP id g91DOMrY003390 for ; Tue, 1 Oct 2002 06:24:22 -0700 (PDT) Received: from iplan-mn.corp.adobe.com (iplan-mn.corp.adobe.com [130.248.25.5]) by inner-relay-2.corp.adobe.com (8.12.3/8.12.3) with ESMTP id g91DJ8vW027201 for ; Tue, 1 Oct 2002 06:19:08 -0700 (PDT) Received: from [130.248.25.159] ([192.150.11.13]) by iplan-mn.corp.adobe.com (Netscape Messaging Server 4.15 mn Jul 11 2001 16:32:57) with ESMTP id H3B14300.6YG; Tue, 1 Oct 2002 08:21:39 -0500 User-Agent: Microsoft-Entourage/10.0.0.1331 Date: Tue, 01 Oct 2002 06:21:00 -0000 Subject: Re: How to pass 2D variable-sized arrays in C++? From: John Love-Jensen To: Claudio Bley CC: Message-ID: In-Reply-To: <15769.39939.901328.244062@wh2-19.st.uni-magdeburg.de> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-SW-Source: 2002-10/txt/msg00004.txt.bz2 > 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. In that case, I refer back to my first answer: typedef vector > myarray; void foo(myarray& a) ... --Eljay