From dev-return-8018-apmail-stdcxx-dev-archive=stdcxx.apache.org@stdcxx.apache.org Thu Jun 26 23:45:59 2008 Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 60779 invoked from network); 26 Jun 2008 23:45:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2008 23:45:59 -0000 Received: (qmail 52033 invoked by uid 500); 26 Jun 2008 23:46:01 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 52007 invoked by uid 500); 26 Jun 2008 23:46:00 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 51996 invoked by uid 99); 26 Jun 2008 23:46:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2008 16:46:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of msebor@gmail.com designates 74.125.46.28 as permitted sender) Received: from [74.125.46.28] (HELO yw-out-2324.google.com) (74.125.46.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2008 23:45:10 +0000 Received: by yw-out-2324.google.com with SMTP id 5so98963ywb.53 for ; Thu, 26 Jun 2008 16:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:subject:content-type :content-transfer-encoding:sender; bh=s4guBmwHWI2fSej/0P9woi+GFQ4Atb8KoX4eQy9LEUQ=; b=DiOXJBQRqStVBLdDN1Z+K1lMC/qvw3YouyrYXLqVRVp8ea0OBAFWstQJgCft/F3d5X e9mQxqwfh5yXVBqAznOUfktmmvULrP5w1ezEWoEVCEXGsL93naJaADf9W8MW0UDabZ92 hA2NEI418TuH+98x8My3RKe8mdTxJX+yygDsE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to :subject:content-type:content-transfer-encoding:sender; b=TLdrG2Ckf4ISFeKI3M9L91w87NFxuYidhdJGMRj/gZmEdwpBzZPBothEQbNpnuZ5XJ nm0ErOiOd9PTct8glYeR8odcC7Pmy8WVN2dMqvCg/xQKf3Q4nbob1p4MLIuqRX+kdEIc CfY2LJS+PAq67jpi07996BmgMruZTRgvs08b8= Received: by 10.150.58.17 with SMTP id g17mr995653yba.203.1214523912937; Thu, 26 Jun 2008 16:45:12 -0700 (PDT) Received: from localhost.localdomain ( [71.229.200.170]) by mx.google.com with ESMTPS id z80sm1760194pyg.31.2008.06.26.16.45.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 26 Jun 2008 16:45:12 -0700 (PDT) Message-ID: <48642A07.4010201@roguewave.com> Date: Thu, 26 Jun 2008 17:45:11 -0600 From: Martin Sebor Organization: Rogue Wave Software, Inc. User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: dev@stdcxx.apache.org Subject: implementation of Unary Traits Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Martin Sebor X-Virus-Checked: Checked by ClamAV on apache.org The implementation of Unary Traits (e.g., is_void) uses explicit specialization on all four combinations of cv-qualifiers for each trait (plain, const, volatile, and const volatile). I'm wondering if the alternative approach of stripping the qualifiers before "dispatching" to just one explicit specialization has been considered. The potential advantage of this approach is fewer declarations, smaller translation units, and thus (presumably) faster compilation. Martin