From mboxrd@z Thu Jan 1 00:00:00 1970 From: kenny.simpson@gs.com To: gcc-gnats@gcc.gnu.org Cc: theonetruekenny@yahoo.com Subject: libstdc++/3036: pair constructor not updated per DR 265 Date: Fri, 01 Jun 2001 18:06:00 -0000 Message-id: <20010602010416.20642.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg00030.html List-Id: >Number: 3036 >Category: libstdc++ >Synopsis: pair constructor not updated per DR 265 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Jun 01 18:06:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: kenny.simpson@gs.com >Release: 20010528 snapshot >Organization: >Environment: source >Description: The constructor for pair has been changed, see: http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/lwg-defects.html#265 in include/bits/stl_pair.h the old definition of pair() : first(_T1()), second(_T2()) {} exists, but this should now be pair() : first(), second() {} >How-To-Repeat: >Fix: remove _T1() and _T2() from pair's default constructor. >Release-Note: >Audit-Trail: >Unformatted: