From issues-return-2373-apmail-stdcxx-issues-archive=stdcxx.apache.org@stdcxx.apache.org Tue Jul 22 20:38:22 2008 Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 36619 invoked from network); 22 Jul 2008 20:38:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jul 2008 20:38:22 -0000 Received: (qmail 18732 invoked by uid 500); 22 Jul 2008 20:38:22 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 18709 invoked by uid 500); 22 Jul 2008 20:38:22 -0000 Mailing-List: contact issues-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 issues@stdcxx.apache.org Received: (qmail 18698 invoked by uid 99); 22 Jul 2008 20:38:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 13:38:21 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 20:37:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B9D91234C17C for ; Tue, 22 Jul 2008 13:37:31 -0700 (PDT) Message-ID: <1181396194.1216759051760.JavaMail.jira@brutus> Date: Tue, 22 Jul 2008 13:37:31 -0700 (PDT) From: "Travis Vitek (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Commented: (STDCXX-1002) [Sun C++] partial specialization on cv-qualifiers broken for array types In-Reply-To: <638355482.1216759051636.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615783#action_12615783 ] Travis Vitek commented on STDCXX-1002: -------------------------------------- Filed with Sun as bug [#6728401|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6728401]. > [Sun C++] partial specialization on cv-qualifiers broken for array types > ------------------------------------------------------------------------ > > Key: STDCXX-1002 > URL: https://issues.apache.org/jira/browse/STDCXX-1002 > Project: C++ Standard Library > Issue Type: Bug > Components: External > Reporter: Travis Vitek > > {noformat} > $ cat t.cpp && CC t.cpp > template > struct __rw_is_const > { > enum { value = 0 }; > }; > template > struct __rw_is_const > { > enum { value = 1 }; > }; > extern "C" int printf (const char*, ...); > int main () > { > #define test(X) if (!(X)) printf ("%s != 1\n", #X) > test (!__rw_is_const::value); > test (__rw_is_const::value); > test (__rw_is_const::value); > test (__rw_is_const::value); > return 0; > } > __rw_is_const::value != 1 > __rw_is_const::value != 1 > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.