From -3934567875800927478
X-Google-Thread: 7894ca11fe,b8f03ff37c64f88c
X-Google-Attributes: gid7894ca11fe,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news2.google.com!news1.google.com!news.glorb.com!news.alt.net!frodo.cs.rpi.edu!not-for-mail
From: "Philipp M." <bootsarehax@googlemail.com>
Newsgroups: comp.std.c++
Subject: Re: No cbegin/cend for std::initializer_list?
Date: Wed,  2 Sep 2009 11:38:05 CST
Organization: http://groups.google.com
Lines: 18
Sender: cppmods@cs.rpi.edu
Approved: austern@google.com
Message-ID: <0081c572-9bbe-457e-9f54-b97da4ebfae0@v36g2000yqv.googlegroups.com>
References: <7.0.0.16.2.20090901101108.063e9c28@aristeia.com>
 <1b8b2c5d-7f06-46c5-b403-50aad13632cf@o36g2000vbl.googlegroups.com>
NNTP-Posting-Host: netlab.cs.rpi.edu
Content-Type: text/plain; charset=ISO-8859-1
To: (Usenet)
Return-Path: <cppmods@ruralroute.cs.rpi.edu>
X-Original-Date: Wed, 2 Sep 2009 08:24:27 -0700 (PDT)
X-Submission-Address: std-c++@netlab.cs.rpi.edu
Xref: g2news2.google.com comp.std.c++:1336

On Sep 2, 7:14 am, Nikolay Ivchenkov <ts...@mail.ru> wrote:
> IMHO, direct use of container's member "cbegin" in generic
> code is bad idea.

Could you outline a few situations were usage of the members might
lead to unexpected problems afterwards?
I'm curious because I can't see such a situation (as I'm rather
inexperienced).

Philipp


--
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]



