RE: [sv-ec] extern methods of parameterized classes - new proposal framework

From: Michael (Mac) McNamara <mcnamara_at_.....>
Date: Tue Jun 26 2007 - 10:53:34 PDT
Perhaps we should use some word other than extern.  Ideally we can
choose another word we've already reserved (there are many to choose
from :-), or if not, go ahead and reserve another one that clearly
indicates the intent.

"export class C ..." 

"public class C ..."

-----Original Message-----
From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of
Geoffrey.Coram
Sent: Tuesday, June 26, 2007 3:43 AM
To: Jonathan Bromley
Cc: Gordon Vreugdenhil; SV_EC List
Subject: Re: [sv-ec] extern methods of parameterized classes - new
proposal framework

Jonathan Bromley wrote:
> 
> My only (very tiny) reservation is about the use of the "extern" 
> keyword.  (And yes, I know that all this is different again in C[++]).

> In an "extern function" prototype, the extern prefix means "Here's a
promise that in due 
> course I will supply the details". In "extern class", the prefix means
"I'm delivering 
> on my earlier promise".

I agree: it's quite unexpected that extern is used in the actual
definition.

-Geoffrey

--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Jun 26 10:53:54 2007

This archive was generated by hypermail 2.1.8 : Tue Jun 26 2007 - 10:54:16 PDT