From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30327 invoked by alias); 8 Feb 2003 15:26:01 -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 30312 invoked by uid 71); 8 Feb 2003 15:26:01 -0000 Date: Sat, 08 Feb 2003 15:26:00 -0000 Message-ID: <20030208152601.30311.qmail@sources.redhat.com> To: paolo@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Falk Hueffner Subject: Re: libstdc++/9626: g++ accepts vector > v(2, 4); Reply-To: Falk Hueffner X-SW-Source: 2003-02/txt/msg00405.txt.bz2 List-Id: The following reply was made to PR libstdc++/9626; it has been noted by GNATS. From: Falk Hueffner To: Paolo Carlini Cc: paolo@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: libstdc++/9626: g++ accepts vector > v(2, 4); Date: 08 Feb 2003 16:16:38 +0100 Paolo Carlini writes: > Falk Hueffner wrote: > >No. I pass a 4, but the constructor expects an A = vector. The > >only way to make a "vector" from "4" is with an "explicit" > >constructor. > > Why the constructor expects a vector? Which constructor? The constructor of vector >, as second argument. -- Falk