From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14727 invoked by alias); 20 Apr 2010 17:00:18 -0000 Received: (qmail 14340 invoked by uid 48); 20 Apr 2010 16:59:54 -0000 Date: Tue, 20 Apr 2010 17:00:00 -0000 Message-ID: <20100420165954.14339.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/43813] [DR1234] vector(3, NULL) fails to compile In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "redi at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-04/txt/msg02076.txt.bz2 ------- Comment #6 from redi at gcc dot gnu dot org 2010-04-20 16:59 ------- one problem is that it's not trivial to determine if a type "qualifies as an input iterator" because a non-iterator type could provide private members which perform some of the operations supported by an iterator (e.g. operator++) and attempting to test for those members will give an access violation there's some related discussion starting at Bug 40497 comment 23 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43813