From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24688 invoked by alias); 18 Mar 2003 01:56:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 24673 invoked by uid 71); 18 Mar 2003 01:56:01 -0000 Date: Tue, 18 Mar 2003 01:56:00 -0000 Message-ID: <20030318015601.24672.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Gabriel Dos Reis Subject: Re: c++/10112: static data member is not correctly initialized Reply-To: Gabriel Dos Reis X-SW-Source: 2003-03/txt/msg01193.txt.bz2 List-Id: The following reply was made to PR c++/10112; it has been noted by GNATS. From: Gabriel Dos Reis To: "Giovanni Bajo" Cc: "Wolfgang Bangerth" , , , , Subject: Re: c++/10112: static data member is not correctly initialized Date: 18 Mar 2003 02:46:40 +0100 "Giovanni Bajo" writes: [...] | Nathan, I agree that the order of instantiation is implementation defined, | but the initialization of the static data members should happen before any | template is instantiated. From which parts of the standard did read that? | =A714.7.1p8 decouples initialization of static data | members and instantiation of class templates, saying that <>. In fact, <> (=A79.4.2p7), <> (=A73.6.2p1) (and of course only if | <> (=A714.7.1p1). I can't read that to imply the your first assertion quoted above. -- Gaby