From 365119159187413876
X-Google-Thread: f78e5,adfa3ea7cd149e36
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 04 May 2005 17:50:08 -0500
Return-Path: <devnull@stump.algebra.com>
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
Delivered-To: std-c++@ucar.edu
From: "Felipe Magno de Almeida" <felipe.m.almeida@gmail.com>
Newsgroups: comp.std.c++
Subject: Re: Specialization of a template cast.
Organization: http://groups.google.com
Message-ID: <1115194361.029763.188200@z14g2000cwz.googlegroups.com>
References: <ddeae1ee0504241041398c81b@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Complaints-To: groups-abuse@google.com
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: z14g2000cwz.googlegroups.com; posting-host=200.208.42.203;
   posting-account=6Eq8sA0AAACAjx31DDq5k_RF6noqFIBT
X-Greylisting: NO DELAY (Relay+Sender autoqualified);
	processed by UCSD_GL-v1.2 on mailbox7.ucsd.edu;
	Wed, 04 May 2005 01:12:46 -0700 (PDT)
X-Spamscanner: mailbox7.ucsd.edu  (v1.5 Dec  3 2004 17:34:44, -2.8/5.0 3.0.0)
X-MailScanner: PASSED (v1.2.8 26885 j448Cjkm040803 mailbox7.ucsd.edu)
X-Virus-Scanned: amavisd-new at ucar.edu
X-Virus-Scanned: by amavisd-new at cs.mu.OZ.AU
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
X-Virus-Scanned: by amavisd-new at cs.mu.OZ.AU
Date: Wed,  4 May 2005 17:46:48 CST
Lines: 24
NNTP-Posting-Host: 65.182.171.162
X-Trace: sv3-N4ttLO6NGM/+GwdQkr24DbOKFlWq1+WPJw3LzESl48ORvWVHZip5LRV3DFRUBoIoZsST7QiIIZ5u/ta!HsOWkXFydH0as2n/dYGEfX1AYrBfn6r8sbczIEPLAfeP44NeBhzZ6NyOTGYYX1D91PSJ1z/fQ/1w!aBqzHHlNOyaS/Rr/wa0jIX+IhJBCc9bhGgfLNvsp9i4=
X-Complaints-To: abuse@speakeasy.net
X-DMCA-Complaints-To: abuse@speakeasy.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32
Xref: g2news1.google.com comp.std.c++:4662


Lucas Galfaso escreveu:

<snip>

>   template <typename _Ty>

Dont use an underscore before a capital letter, it is reserved for the
compiler.

>   operator _Ty() const { cout << "This is a specialization on the
type
> " << typeid(_Ty).name() << endl; return (_Ty) m_foo; }
> 

> Thanks,
>   Lucas Galfaso

---
[ 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://www.jamesd.demon.co.uk/csc/faq.html                       ]



