From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24159 invoked by alias); 15 Feb 2006 19:37:21 -0000 Received: (qmail 24146 invoked by uid 48); 15 Feb 2006 19:37:18 -0000 Date: Wed, 15 Feb 2006 19:37:00 -0000 Message-ID: <20060215193718.24145.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/26205] pointer to member template parameter can't be null In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bangerth at dealii dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg01736.txt.bz2 List-Id: ------- Comment #2 from bangerth at dealii dot org 2006-02-15 19:37 ------- icc gives essentially the same error as that one mentioned by Andrew for Comeau (not surprisingly). As a workaround, you can always use an explicit cast: Test t2; I believe the code is ok anyway, see 4.11/1. W. -- bangerth at dealii dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-02-15 19:37:18 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26205