Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 32048 invoked from network); 16 Mar 2007 23:08:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Mar 2007 23:08:29 -0000 Received: (qmail 50434 invoked by uid 500); 16 Mar 2007 23:08:38 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 50418 invoked by uid 500); 16 Mar 2007 23:08:38 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 50407 invoked by uid 99); 16 Mar 2007 23:08:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 16:08:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 16:08:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 40D3F71406F for ; Fri, 16 Mar 2007 16:08:09 -0700 (PDT) Message-ID: <21962717.1174086489246.JavaMail.jira@brutus> Date: Fri, 16 Mar 2007 16:08:09 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Commented: (STDCXX-363) [XLC++ 8.0] explicit instantiation requires well-formed default function arguments In-Reply-To: <465483.1174086369239.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-363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481782 ] Martin Sebor commented on STDCXX-363: ------------------------------------- Filed with IBM as PMR 02338,K78,000. > [XLC++ 8.0] explicit instantiation requires well-formed default function arguments > ---------------------------------------------------------------------------------- > > Key: STDCXX-363 > URL: https://issues.apache.org/jira/browse/STDCXX-363 > Project: C++ Standard Library > Issue Type: Bug > Components: External > Environment: XLC++ 8.0 > Reporter: Martin Sebor > > I believe the program below is well-formed (according to 14.7.2, p9, an explicit instantiation does not constitute a use of a default argument). It fails to compile with XLC++ 8.0. > $ cat t.cpp && xlC -qversion && xlC -c t.cpp > template struct A { void foo (T = T::foobar ()) > { } }; > struct B { }; > template class A; > IBM XL C/C++ Enterprise Edition V8.0 for AIX > Version: 08.00.0000.0012 > "t.cpp", line 1.45: 1540-0063 (S) The text "T::foobar" is unexpected. > "t.cpp", line 3.16: 1540-0700 (I) The previous message was produced while processing "struct A". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.