🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #596

Re: template default argument bug?

#596
From: Miro Jurisic
Date: Fri, 06 Feb 2004 22:18
29 lines
1751 bytes
In article <BC49C007.5810C%postmaster@127.0.0.1>, Steve <postmaster@127.0.0.1> 
wrote:

> How will the following be interpreted?
> 
> template< int N >
> class A ...
> 
> template< class T = A< 64 >> 2 > >
> class ...
> 
> (imagine brackets around 64 >> 2)

I assume you will have to put the 64>>2 in ()s, just as you have to do with this 
right now:

template< int N >
class A ...

template< class T = A< 64 > 2 > >
class ...

(But I don't know that this is the outcome the committee will choose)

meeroh

-- 
If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>
Technical Details
Message-ID: <macdev-84B047.17184506022004@senator-bedfellow.mit.edu>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!elk.ncren.net!news2.wam.umd.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail
References: <4022896d$1@news.kos.net> <hinnant-B84BAE.17430705022004@syrcnyrdrs-03-ge0.nyroc.rr.com> <4023cd0a$1@news.kos.net> <mwron-5C8DDF.13492406022004@news.newsguy.com> <macdev-CB175B.15465006022004@senator-bedfellow.mit.edu> <BC49C007.5810C%postmaster@127.0.0.1>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,7802dbc009c85cd
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,7802dbc009c85cd
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2004-02-06 14:18:46 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!elk.ncren.net!news2.wam.umd.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail
From: Miro Jurisic <macdev@meeroh.org>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Re: template default argument bug?
References: <4022896d$1@news.kos.net> <hinnant-B84BAE.17430705022004@syrcnyrdrs-03-ge0.nyroc.rr.com> <4023cd0a$1@news.kos.net> <mwron-5C8DDF.13492406022004@news.newsguy.com> <macdev-CB175B.15465006022004@senator-bedfellow.mit.edu> <BC49C007.5810C%postmaster@127.0.0.1>
User-Agent: MT-NewsWatcher/3.2.1 (PPC Mac OS X)
Date: Fri, 06 Feb 2004 17:18:45 -0500
Message-ID: <macdev-84B047.17184506022004@senator-bedfellow.mit.edu>
Lines: 30
NNTP-Posting-Host: TITANIUM-48.MIT.EDU
X-Trace: 1076105925 senator-bedfellow.mit.edu 559 18.101.0.199