Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 13306 invoked from network); 27 Oct 2007 21:30:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Oct 2007 21:30:14 -0000 Received: (qmail 16469 invoked by uid 500); 27 Oct 2007 21:30:01 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 16446 invoked by uid 500); 27 Oct 2007 21:30:01 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 16435 invoked by uid 99); 27 Oct 2007 21:30:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Oct 2007 14:30:01 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Oct 2007 21:30:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2D5C6714258 for ; Sat, 27 Oct 2007 14:29:51 -0700 (PDT) Message-ID: <21975518.1193520591183.JavaMail.jira@brutus> Date: Sat, 27 Oct 2007 14:29:51 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Updated: (STDCXX-236) std::reverse_iterator::iterator>::operator-> doesn't compile In-Reply-To: <23304078.1151523809820.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor updated STDCXX-236: -------------------------------- Severity: Compiler Error Affects Version/s: 4.2 4.1.2 4.1.3 4.1.4 > std::reverse_iterator::iterator>::operator-> doesn't compile > ------------------------------------------------------------------------------ > > Key: STDCXX-236 > URL: https://issues.apache.org/jira/browse/STDCXX-236 > Project: C++ Standard Library > Issue Type: Bug > Components: 23. Containers > Affects Versions: 4.1.2, 4.1.3, 4.1.4, 4.2 > Environment: all > Reporter: Martin Sebor > Priority: Minor > > Moved from the Rogue Wave bug tracking database: > ****Created By: sebor @ Jun 23, 2000 04:08:36 PM**** > Subject: vector operator arrow cannot be explicitly instantiated (908) > Date: Fri, 23 Jun 2000 16:06:09 -0400 > From: cxxrtl@cxxc.zko.dec.com > To: OEMSUPPORT@roguewave.com > /* > This won't compile. It is from the Perennial test suite. > cxx: Error: /usr/users/j_ward/BRUCE/include/iterator, line 559: expression > must be an lvalue or a function designator > detected during instantiation of > "std::reverse_iterator<_Iterator>::pointer > std::reverse_iterator<_Iterator>::operator->() const [with > _Iterator=std::vector std::allocator>::iterator]" at line 7 of "t.cxx" > _RWSTD_OPERATOR_ARROW (pointer operator->() const); > ----^ > */ > #include > #include > void main() > { > std::reverse_iterator::iterator>::operator->; > } > ****Modified By: sebor @ May 09, 2002 12:00:25 PM**** > With SunPro 5.3 and the latest libstd 3.0: > SUNWS_CACHE_NAME=t.ti CC -c -D_RWSTDDEBUG -D_RWSTD_MULTI_THREAD -mt -D_RWSTD_POSIX_D10_THREADS -D_RWSTD_USE_CONFIG -I/build/sebor/sunpro-15d/include -I/build2/sebor/dev/stdlib/include -I/build2/sebor/dev/stdlib/../rwtest -I/build2/sebor/dev/stdlib/../rwtest/include -I/build2/sebor/dev/stdlib/tests/include -library=%none -g +w t.cpp > "/build2/sebor/dev/stdlib/include/rw/_iterator.h", line 153: Error: Cannot return std::vector>::reference* from a function that should return unsigned*. > 1 Error(s) detected. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.