MESSAGE
DATE | 2011-06-05 |
FROM | Ruben Safir
|
SUBJECT | Subject: [NYLXS - HANGOUT] (fwd) Re: Anonymous namespace
|
From owner-hangout-outgoing-at-mrbrklyn.com Sun Jun 5 00:27:31 2011 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: by www2.mrbrklyn.com (Postfix) id CD486100BAE; Sun, 5 Jun 2011 00:27:30 -0400 (EDT) Delivered-To: hangout-outgoing-at-www2.mrbrklyn.com Received: by www2.mrbrklyn.com (Postfix, from userid 28) id 46725100BAC; Sun, 5 Jun 2011 00:27:30 -0400 (EDT) Delivered-To: hangout-at-nylxs.com Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by www2.mrbrklyn.com (Postfix) with ESMTP id 5D4F3100B84 for ; Sun, 5 Jun 2011 00:27:23 -0400 (EDT) Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mailbackend.panix.com (Postfix) with ESMTP id 8057632F01 for ; Sun, 5 Jun 2011 00:27:36 -0400 (EDT) Received: by panix2.panix.com (Postfix, from userid 20529) id 705D633C5F; Sun, 5 Jun 2011 00:27:36 -0400 (EDT) From: Ruben Safir To: hangout-at-nylxs.com Subject: [NYLXS - HANGOUT] (fwd) Re: Anonymous namespace User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (NetBSD/5.1 (i386)) Message-Id: <20110605042736.705D633C5F-at-panix2.panix.com> Date: Sun, 5 Jun 2011 00:27:36 -0400 (EDT) Sender: owner-hangout-at-mrbrklyn.com Precedence: bulk Reply-To: hangout-at-mrbrklyn.com
-- forwarded message -- Path: reader1.panix.com!panix!not-for-mail From: Ruben Safir Newsgroups: comp.lang.c++ Subject: Re: Anonymous namespace Date: Sat, 4 Jun 2011 05:37:41 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 20 Message-ID: References: <94rjavFbjiU7-at-mid.individual.net> <94tnpvFivcU1-at-mid.individual.net> <94ttj9FivcU4-at-mid.individual.net> NNTP-Posting-Host: www2.mrbrklyn.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: reader1.panix.com 1307165861 20952 96.57.23.82 (4 Jun 2011 05:37:41 GMT) X-Complaints-To: abuse-at-panix.com NNTP-Posting-Date: Sat, 4 Jun 2011 05:37:41 +0000 (UTC) X-Blackjet: Blackjet is a Yankee Fan X-DRMisTHEFT: Use GNU Linux today X-From: A Dark Cloud X-LOCATION: Brooklyn NY - Forget abou' it! X-NYLXS: Really - yah think computers are supposed to be broken? User-Agent: Pan/0.133 (House of Butterflies) Xref: panix comp.lang.c++:1086014
On Sat, 04 Jun 2011 17:19:37 +1200, Ian Collins wrote:
> the other is to instantiate all possibilities in the > library.
How can you do that? You would need to know what all the class T's can be and in a language where you create types on the fly, you can't do that.
You can have limited predefined number of partial or explicit specifications for the general template. Or I guess you can instantiate them, but I can't think of how that can be done except within a local namespace
vector a;
but then you have to call for a.
Ruben -- end of forwarded message --
|
|