From -3502557649126146954
X-Google-Thread: f78e5,6123103e5238722d
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII
Path: g2news2.google.com!news3.google.com!news.glorb.com!news.alt.net!comp-std-cpp-robomod!not-for-mail
From: "Emmanuel Deloget" <logout@free.fr>
Newsgroups: comp.std.c++
Subject: Re: templated typedefs
Date: Wed, 28 Feb 2007 12:06:31 CST
Organization: http://groups.google.com
Lines: 25
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <1172676804.196959.56870@q2g2000cwa.googlegroups.com>
References: <1172672871.447314.314220@s48g2000cws.googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1172676809 19286 127.0.0.1 (28 Feb 2007 15:33:29 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 28 Feb 2007 15:33:29 +0000 (UTC)
Return-Path: <devnull@stump.algebra.com>
X-Authentication-Warning: mulga.csse.unimelb.edu.au: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Original-To: std-c++@mailman.ucar.edu
Delivered-To: std-c++@mailman.ucar.edu
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: q2g2000cwa.googlegroups.com; posting-host=195.82.37.41;
   posting-account=huuJQA0AAABueQ1E1rJDJvMvn7FHaCAD
X-Virus-Scanned: amavisd-new at ucar.edu
X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au
X-MIME-Autoconverted: from quoted-printable to 8bit by mulga.csse.unimelb.edu.au id l1SFXZAe013713
X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au
Xref: g2news2.google.com comp.std.c++:5727

On 28 f�v, 16:16, "jam" <farid.mehr...@gmail.com> wrote:
> Has it finally become part of standard or not?
> I mean something like this (though it shoud be obvious):
>
> template<class A>class generic;
> template<class A>typedef generic<A> my_type; /*LOOK HERE*/
> my_type<int> my_obj;

According to this:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2142.html

It seems so. See the "template aliases" proposal(s) by Stroustrup &
al.

Regards,

-- Emmanuel Deloget


---
[ 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.comeaucomputing.com/csc/faq.html                      ]



