From -7776588797069516376
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc772,ef0c226459c03bdf
X-Google-Attributes: gidfc772,public
X-Google-Thread: f78e5,edd477ec92e5348f
X-Google-Attributes: gidf78e5,public
From: "Andrei Alexandrescu" <alexandrescua@micromodeling.com>
Subject: Re: Protected Inheritance
Date: 1999/02/18
Message-ID: <36cb1a6f.0@10.1.1.65>#1/1
X-Deja-AN: 445608264
Approved: Fergus Henderson <fjh@cs.mu.oz.au>
References: <Pine.GSO.3.95-960729.990131142619.5694B-100000@finan.ncl.ac.uk> <slrn7bbi9a.q1a.sbnaran@localhost.localdomain> <sUPt2.16333$202.8056314@news1.teleport.com> <79aesq$qlr$1@uuneo.neosoft.com> <HEbu2.18017$202.8772558@news1.teleport.com> <36b9fd49.0@10.1.1.65> <AwGu2.19901$202.9740872@news1.teleport.com> <36C046BE.4233@clipper.ens.fr> <36c9a628.0@10.1.1.65> <slrn7clu0p.cs9.sbnaran@fermi.ceg.uiuc.edu>
X-Submission-Address: c++-submit@netlab.cs.rpi.edu
X-Original-Date: 18 Feb 1999 01:27:06 -0500
X-Authentication-Warning: philabs-gw.philabs.research.philips.com: smap set sender to <usenet@rpi.edu> using -f
X-Complaints-To: news@news.unimelb.edu.au
X-Approved-For-Group: daveed@vandevoorde.com comp.lang.c++.moderated
X-Trace: izvestia.its.unimelb.edu.au 919320662 22025 128.250.29.16 (18 Feb 1999 06:51:02 GMT)
Organization: unknown
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUANsu4PeEDnX0m9pzZAQF1dAGAn54mBepujH7FgfgZXeQUPmLOV0H9HFK9 UNJEUjfnK92XiCxqiLxI+FfyMP09WFBo =2Rlp
X-WARNING-TO-MODERATORS: This article has been processed and accepted using a cryptographic program by the moderator of comp.lang.c++.moderated. Its content must not be changed or it will be automatically cancelled. If you don't like the article or its crossposting, return it to the submitter.  (You can delete this message if you are the last moderator to see it.)
NNTP-Posting-Date: 18 Feb 1999 06:51:02 GMT
Newsgroups: comp.std.c++,comp.lang.c++.moderated

Siemel Naran wrote in message ...
>Como is probably right, because the standard forbids making a class
>a friend to a template parameter.  However, I tend to think that
>there's no harm in allowing this kind of friendship.

But it's the other way 'round: I make the template parameter friend to the
template. Is this also forbidden?
Also, sorry for my error, I was speaking about MSVC 5, not 6.

Andrei



[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]

      [ Send an empty e-mail to c++-help@netlab.cs.rpi.edu for info ]
      [ about comp.lang.c++.moderated. First time posters: do this! ]



