Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 67995 invoked from network); 2 Jul 2008 22:25:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jul 2008 22:25:06 -0000 Received: (qmail 38092 invoked by uid 500); 2 Jul 2008 22:25:07 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 38064 invoked by uid 500); 2 Jul 2008 22:25:07 -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 38046 invoked by uid 99); 2 Jul 2008 22:25:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2008 15:25:07 -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; Wed, 02 Jul 2008 22:24:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3CB5E234C152 for ; Wed, 2 Jul 2008 15:24:45 -0700 (PDT) Message-ID: <203213352.1215037485247.JavaMail.jira@brutus> Date: Wed, 2 Jul 2008 15:24:45 -0700 (PDT) From: "Travis Vitek (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Created: (STDCXX-985) [Linux/gcc] 20.meta.rel.cpp fails is_base_of assertions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [Linux/gcc] 20.meta.rel.cpp fails is_base_of assertions ------------------------------------------------------- Key: STDCXX-985 URL: https://issues.apache.org/jira/browse/STDCXX-985 Project: C++ Standard Library Issue Type: Bug Components: TR1.4 - Metaprogramming and Type Traits Affects Versions: 4.3 Environment: gcc-4.3 Reporter: Travis Vitek Fix For: 4.3 The {{__is_base_of()}} helper provided with gcc-4.3 doesn't detect protecte= d and private inheritance as required by the draft standard. It appears tha= t the helper may be based on an older version of the standard and needs to = be updated. Here is a note from the description of the {{is_base_of}} trait= . {quote}[Note:Base classes that are private, protected, or ambigious are, no= netheless, base classes. =E2=80=94end note ]{quote} This is the gcc description of the helper that they provide.. {quote}__is_base_of (base_type, derived_type) If base_type is a base class of derived_type ([class.derived]) then the tra= it is true, otherwise it is false. Top-level cv qualifications of base_type= and derived_type are ignored. For the purposes of this trait, a class type= is considered is own base. Requires: if __is_class (base_type) and __is_cl= ass (derived_type) are true and base_type and derived_type are not the same= type (disregarding cv-qualifiers), derived_type shall be a complete type. = Diagnostic is produced if this requirement is not met.{quote} Since there is no way to detect this from within the library, there isn't m= uch we can do about fixing it. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.