220 40983 <c9f26898-5980-43de-9313-1d271bf43aa0@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: olafvdspek@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Can we have beginner friendly new line and
 deprecate std::endl?
Date: Mon, 12 Nov 2018 03:17:39 -0800 (PST)
Lines: 58
Approved: news@gmane.org
Message-ID: <c9f26898-5980-43de-9313-1d271bf43aa0@isocpp.org>
References: <e17189bf-51be-496d-845a-3707a516a210@isocpp.org> <CAMmfjbOkdN63EON+hrCJWj94n48vtVvMfUjzeau5KmPWSpwkow@mail.gmail.com> <CAHSYqdYYZjeHHbRZ5bcHLYVsWfspwCeQ8oxEDRbuJ8dqAtsX5A@mail.gmail.com>
 <AB167E1A-FA59-4B72-A9C2-1624D1B56614@hsr.ch>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_545_1051076119.1542021459981"
X-Trace: blaine.gmane.org 1542021337 3511 195.159.176.226 (12 Nov 2018 11:15:37 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Mon, 12 Nov 2018 11:15:37 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBC5NB45SSABBBVOCUXPQKGQE2ZMZQIQ@isocpp.org Mon Nov 12 12:15:32 2018
Return-path: <std-proposals+bncBC5NB45SSABBBVOCUXPQKGQE2ZMZQIQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yb1-f200.google.com ([209.85.219.200])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBC5NB45SSABBBVOCUXPQKGQE2ZMZQIQ@isocpp.org>)
	id 1gMABo-0000my-6Z
	for gclcip-std-proposals@m.gmane.org; Mon, 12 Nov 2018 12:15:32 +0100
Original-Received: by mail-yb1-f200.google.com with SMTP id g14-v6sf7875257ybf.12
        for <gclcip-std-proposals@m.gmane.org>; Mon, 12 Nov 2018 03:17:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=qK5pl9xqi3AAp5a5UhJfI3bvmBa24m9b2gk/PD6uMNI=;
        b=gB+uRUEySMXTlXe4/dU3I/Ntwar2IUCmkU7FPe5RpVyNoNx589zXu9E8S20MMqsRxe
         9/buU15jpaHP8poKpDgoi6xPDUwbDgKeQb01K9Xu/NvJbXWE/A5BuLomS8EMUlCiKNMZ
         QMAxMBLnfz59SCgdhnqQ8vzhipd7U2NiXJ8VdGyutK3b/tvx3jk487wUxBeKIArp5t5q
         065O3UFbkT33r13Aad6PYnwf+Zr95Luaih996qIvEWg6nmK12YpXQm1eKFoPSsLeqS7N
         cByPIBGndD2FRhfze+1vWCd4OY05Q8FfqDf8QCye9FWT0jjtqqzAEg0Ogoq7OQA3y5iJ
         6cIA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=qK5pl9xqi3AAp5a5UhJfI3bvmBa24m9b2gk/PD6uMNI=;
        b=GQZtoTYPQGwH+indkFnpzkYelC5kQF4BPNnuW2RU8UtDjr4ja4/X5y8goGpdfi2CxY
         Rv5oJINl3i3pnT9RPqazh5Mq6mO00ZuthAcFsS5XJ2ITov+NYfCFvBigU7rJwTqEjb0c
         hjy/+hxC8HHTRWeJqKRP2p+swM6n6NRVP6uvKqWLBsXZ0anbXgMPXVY3Mms+9ei5X3GR
         Sc9eAy64iauV7XwzgxMk7TECYMn6fLvdGdwqjUPwZliKkomsC7PVEgsWfG3fpdBi8+Vy
         DX3WnlBNF4a2XagtSlaf90cDTuZTWPMwloC4rbLCsF2YnsfTgNsaTJhcynOhcJptjIlr
         vGPg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=qK5pl9xqi3AAp5a5UhJfI3bvmBa24m9b2gk/PD6uMNI=;
        b=BEVKA/9yZm8eUmvt+PvK8GxuqBoeqiSIyoVZH1vrnyb+api237DxDj35Q1BnAslb5Y
         yJhLftAkFSULd14wKc0UiBHxmhai0jRE0Wivv/Dd9pOnV/ZHmxwC639U06McEWWVKmWb
         Gb7YkDFAzJItaWHijsgf6AtqRGSOMzXrOa5GI0aFyYsavoh5ckAB1WxM+bbcAD5Bijx2
         8eXR0sEZnFjDWsN/FlRgtlw50OgdDNELc37TcIXCJeToE8LOG89wmN5oYV1Q9gWksnb3
         Sv0x2XfzBg6D8BfSdJaMpJ5uKBCK1uNu2hE4ngHaD/OiSVs671EyE0PaxMBuZa17zz7Q
         yIVw==
X-Gm-Message-State: AGRZ1gJUNHZX94TFzpz1dWhd2XejoZ31TDHmHSkuJspX6lkunRS4mjfr
	xbQqIg0O1D4b7oPp+/DOzy4vSg==
X-Google-Smtp-Source: AJdET5eiI977Ua/qCDUgS34wu+8E8EchXkAjKFBSd9ybBo78AyI4pqTV5kk9UOLVB4JSvIqrTzUQcA==
X-Received: by 2002:a25:bb87:: with SMTP id y7-v6mr186280ybg.55.1542021462305;
        Mon, 12 Nov 2018 03:17:42 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a25:16c1:: with SMTP id 184-v6ls3192782ybw.18.gmail; Mon, 12
 Nov 2018 03:17:41 -0800 (PST)
X-Received: by 2002:a25:d60d:: with SMTP id n13-v6mr19767ybg.7.1542021461048;
        Mon, 12 Nov 2018 03:17:41 -0800 (PST)
In-Reply-To: <AB167E1A-FA59-4B72-A9C2-1624D1B56614@hsr.ch>
X-Original-Sender: olafvdspek@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:40983
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/40983>

------=_Part_545_1051076119.1542021459981
Content-Type: multipart/alternative; 
	boundary="----=_Part_546_133315879.1542021459981"

------=_Part_546_133315879.1542021459981
Content-Type: text/plain; charset="UTF-8"



Op vrijdag 9 november 2018 07:22:26 UTC+1 schreef PeterSommerlad:
>
> So the better way is do better teaching. I show my students that they 
> should not use endl, except when they need it.
>

When does one need std::endl?
AFAIK std::endl could / should be deprecated.
Write "\n" << std::flush; if that's what you need. 

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/c9f26898-5980-43de-9313-1d271bf43aa0%40isocpp.org.

------=_Part_546_133315879.1542021459981
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>Op vrijdag 9 november 2018 07:22:26 UTC+1 schreef =
PeterSommerlad:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-=
left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"aut=
o">So the better way is do better teaching. I show my students that they sh=
ould not use endl, except when they need it.</div></blockquote><div><br></d=
iv><div>When does one need std::endl?</div><div>AFAIK std::endl could / sho=
uld be deprecated.</div><div>Write &quot;\n&quot; &lt;&lt; std::flush; if t=
hat&#39;s what you need.=C2=A0</div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/c9f26898-5980-43de-9313-1d271bf43aa0%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/c9f26898-5980-43de-9313-1d271bf43aa0=
%40isocpp.org</a>.<br />

------=_Part_546_133315879.1542021459981--

------=_Part_545_1051076119.1542021459981--

.
