From owner-sc22wg5@open-std.org  Fri Jul 30 17:42:45 2010
Return-Path: <owner-sc22wg5@open-std.org>
X-Original-To: sc22wg5-dom8
Delivered-To: sc22wg5-dom8@www2.open-std.org
Received: by www2.open-std.org (Postfix, from userid 521)
	id E7782C3BA11; Fri, 30 Jul 2010 17:42:44 +0200 (CEST)
X-Original-To: sc22wg5@open-std.org
Delivered-To: sc22wg5@open-std.org
X-Greylist: delayed 332 seconds by postgrey-1.18 at www2.open-std.org; Fri, 30 Jul 2010 17:42:44 CEST
Received: from mail-wy0-f175.google.com (mail-wy0-f175.google.com [74.125.82.175])
	by www2.open-std.org (Postfix) with ESMTP id 3612CC3BA0E
	for <sc22wg5@open-std.org>; Fri, 30 Jul 2010 17:42:43 +0200 (CEST)
Received: by wyb38 with SMTP id 38so1638774wyb.34
        for <sc22wg5@open-std.org>; Fri, 30 Jul 2010 08:42:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from
         :user-agent:mime-version:to:subject:references:in-reply-to
         :content-type:content-transfer-encoding;
        bh=xuHoeLxZSARsX2atM7Pg7Ts22h3GF8o7i2+mvDsYxmA=;
        b=jUDS9PyyjGfAyL23bJa93PS7pRuvYgmOuUd/BAyz2/C1YCkQtcmIpEUajQ3Esf+E02
         9rAsWyWGQ8W43U+ZfZ7SDifh7U7HEsP3Qe02GfPS6FBP3TgvpPCeceHV2cK+eKAxkbxF
         bFzQSc7Chw6cpqcSxxktm4SqlPbLFoCpYJ8xQ=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:user-agent:mime-version:to:subject:references
         :in-reply-to:content-type:content-transfer-encoding;
        b=U0G9uA59pCUILwCJwDhBYDedby4sTqDzgxgJR90lP+hy6owpxnbMaz+/d83+6VtpI+
         dgF7EfwOC7LRUmnuWIakuY5knF8ynikW1uXZFqFkM8cnMglUJGQDEbGN2k3nIwDyBsMM
         gWhcVbHzfQxxB2rqkL7wrekzyg3ZiJobFJ3b8=
Received: by 10.227.157.200 with SMTP id c8mr1919294wbx.69.1280504230784;
        Fri, 30 Jul 2010 08:37:10 -0700 (PDT)
Received: from [192.168.0.100] (cpe-69-76-186-24.kc.res.rr.com [69.76.186.24])
        by mx.google.com with ESMTPS id e31sm2011033wbe.17.2010.07.30.08.37.07
        (version=SSLv3 cipher=RC4-MD5);
        Fri, 30 Jul 2010 08:37:09 -0700 (PDT)
Message-ID: <4C52F1A5.5040109@courant.nyu.edu>
Date: Fri, 30 Jul 2010 08:37:09 -0700
From: Aleksandar Donev <aleks.donev@gmail.com>
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: J3 <j3@j3-fortran.org>, SC22WG5 <sc22wg5@open-std.org>
Subject: Re: (j3.2006) (SC22WG5.4305) Executing a type-bound procedure on
 a coindexed object
References: <20100729154103.E2BD3C3BA01@www2.open-std.org> <4C51AC7D.2000805@lrz.de>
In-Reply-To: <4C51AC7D.2000805@lrz.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

Reinhold Bader wrote:
>  This does not seem to make sense. The case you mention can also happen
>   in a non-polymorphic scenario, but there are no restrictions there.
Which is a hint that the size of the allocatable components is not the 
issue. There are restrictions to ensure that the sizes match so that 
remote reallocation never happens. The issue, as I recall, was that 
there could be other components of unknown types, shapes, etc. In a 
heterogeneous environment, copying such things may be harder than just 
getting an integer size of an allocatable array.
In general, it is likely it is all implementable even without some of 
the restrictions, but someone asked to add a restriction to facilitate 
implementation, and we listened unless it took away what was seen as a 
critical functionality. Polymorphic coarrays were not in general seen as 
"critical" :-)
Best,
Aleks

-- 
Aleksandar Donev
Assistant Professor of Mathematics
Courant Institute of Mathematical Sciences, New York University
E-mail: donev@courant.nyu.edu
Phone: (510) 910-0891
Address: 251 Mercer St, New York, NY 10012
Web: http://cims.nyu.edu/~donev/
