Article View: pl.comp.lang.c
Article #297828Re: Do czego służy auto?
From: Wojciech Spook Sura
Date: Tue, 02 Aug 2011 20:01
Date: Tue, 02 Aug 2011 20:01
27 lines
1688 bytes
1688 bytes
Dnia 02-08-2011 o 20:14:39 slawek <human@site.pl> napisał(a): > Czy jest jakiś sens pisania jawnie auto ? > > Przyznam się, że nie widziałem nigdy programu, w którym ktoś pisałby to > piękne słowo kluczowe. Ja już używam - na przykład do takich konstrukcji: for (std::vector<std::string >::const_iterator iter = str.begin(); iter != str.end(); iter++) // (pisałem z pamięci, mogą być błędy) vs for (auto iter = str.begin(); iter != str.end(); iter++) > slawek Pozdrawiam -- Spook. -- ! ._______. Warning: Lucida Console sig! //) ! ! || spk || www.spook.freshsite.pl / _ """*! ! ||_____|| spook at op.pl / ' | ""! ! | ___ | tlen: spoko_ws gg:1290136 /. __/"\ '! ! |_|[]_|_| May the SOURCE be with you! \/) \ !
Technical Details
Message-ID:
<op.vzlq9k0u8x7o78@notebook>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<4e383e91$0$2497$65785112@news.neostrada.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: "Wojciech \"Spook\" Sura" <spook"mad@hatter"op.pl> Newsgroups: pl.comp.lang.c Subject: Re: Do czego służy auto? Date: Tue, 02 Aug 2011 22:01:58 +0200 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 32 Message-ID: <op.vzlq9k0u8x7o78@notebook> References: <4e383e91$0$2497$65785112@news.neostrada.pl> NNTP-Posting-Host: 89-76-139-164.dynamic.chello.pl Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1312315269 24320 89.76.139.164 (2 Aug 2011 20:01:09 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Tue, 2 Aug 2011 20:01:09 +0000 (UTC) X-User: spoko_ws X-Antivirus: avast! (VPS 110802-0, 2011-08-02), Outbound message X-Antivirus-Status: Clean User-Agent: Opera Mail/11.50 (Win32) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit