🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2661

Re: language law question

#2661
From: Larry Jones
Date: Thu, 16 Jul 1998 00:00
18 lines
1288 bytes
Alan Lehotsky wrote:
> 
> I was expecting a constraint saying something like
> 
>       ... for an array of type T, T must be a fully specified
>       type.
> 
> But it's not stated that obviously if it is a constraint.

It isn't a constraint (i.e., the compiler isn't obliged to diagnose
it), but it is a requirement.  An array, by definition, is an array
of objects and an incomplete type is not an object type.

-Larry Jones

My upbringing is filled with inconsistent messages. -- Calvin
-- 
comp.lang.c.moderated - clcm@plethora.net
Technical Details
Message-ID: <clcm-19980716-0009@plethora.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <clcm-19980630-0026@plethora.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,457ad7ff6ee38253
X-Google-Attributes: gid11318c,public
X-Google-Thread: 100850,457ad7ff6ee38253
X-Google-Attributes: gid100850,public
From: Larry Jones <larry.jones@sdrc.com>
Subject: Re: language law question
Date: 1998/07/16
Message-ID: <clcm-19980716-0009@plethora.net>
X-Deja-AN: 372021473
Content-Transfer-encoding: 7bit
Approved: clc@plethora.net
References: <clcm-19980630-0026@plethora.net>
Content-Type: text/plain; charset=us-ascii
Organization: SDRC Worldwide Services
Mime-Version: 1.0
NNTP-Posting-Date: Thu, 16 Jul 1998 09:02:15 CDT
Newsgroups: comp.lang.c.moderated,gnu.gcc.help
Originator: clcm@plethora.net (comp.lang.c.moderated)