220 33534 <2907027.xNHN6QKsd3@tjmaciei-mobl1> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: A more advanced switch
Date: Wed, 02 Aug 2017 08:00:09 -0700
Lines: 21
Approved: news@gmane.org
Message-ID: <2907027.xNHN6QKsd3@tjmaciei-mobl1>
References: <f8c908e2-d06f-4cd1-bda0-fe2b97fd21f1@isocpp.org> <ols5p7$lha$1@blaine.gmane.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: blaine.gmane.org 1501686027 19737 195.159.176.226 (2 Aug 2017 15:00:27 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Wed, 2 Aug 2017 15:00:27 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBCGSQ7GAKGQEYQ5WPKA@isocpp.org Wed Aug 02 17:00:23 2017
Return-path: <std-proposals+bncBCB4TK757YBRBCGSQ7GAKGQEYQ5WPKA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-it0-f69.google.com ([209.85.214.69])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCB4TK757YBRBCGSQ7GAKGQEYQ5WPKA@isocpp.org>)
	id 1dcv8H-0004iJ-6w
	for gclcip-std-proposals@m.gmane.org; Wed, 02 Aug 2017 17:00:21 +0200
Original-Received: by mail-it0-f69.google.com with SMTP id j124sf41977749itj.12
        for <gclcip-std-proposals@m.gmane.org>; Wed, 02 Aug 2017 08:00:26 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1501686025; cv=pass;
        d=google.com; s=arc-20160816;
        b=sMqvSCXh2/aYzMlDOpGWbGugtIEogACI6jM7v52QrpQPGbl2mgh9VV7jki5cAm8t2G
         S1tFzzzjGxiXxGeo9v09WwFI2U2VmLB5BzHg04hdUDkuh/GDIFYyihTK+/sW/e7CPfVd
         pgAPPDV6nucyzfiBlUvNLoAow1HoNQDKAwUdgct9/EztmZnVGidE2AaIyPKNbqp+1z9q
         tk5KxvxjNG0o9TTxypvMnolgLkO/zVJKIJIKN5/mYFRbbUvdKmwxXSst5vt+/Jc/KGcZ
         n70ZcNZzc1UQ7BStJa9HTHtRCPfkX683aHltqHWJBqPaxTiimBEQrjBeF4VgYORsOn9t
         1gkQ==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:mime-version:references
         :in-reply-to:message-id:date:subject:to:from
         :arc-authentication-results:arc-message-signature:dkim-signature
         :arc-authentication-results;
        bh=KcR6MIAsI5r9wT8xObvjVtsrPea8TU8k45eNDYhuUn8=;
        b=RZFQMO2QsAdjV3UXdBS6YkZtqo4yWvZAW0lrKz1f87mXEEkOD2vZDI0MAaFN4gyZWM
         But8f9S+FRDYsEpRtWX9+rWI4RpElfBZknKy12V5aoCLy1yWdmw2+gkfKMnBhnF03uCw
         K/T/fSSV26DjpzMwRdp/bmBKTNUauDE2NuCqlNQnpCp7dzCw9Bi1uzG1A4/RdUCzVGhi
         Sdmi+xFQG6iSS0+zwGCg8Dp2XDXRer+NYR6yz/V2RGCBEJzlsFYhuw6OIx/8HkGRNvSL
         n3YL/LB2xvJXwQMuFIHarb3e0ib2ab7pNyB5qSRnRHC2egSlQjAkzZjkhTfwJxggKf3r
         CPjg==
ARC-Authentication-Results: i=2; mx.google.com;
       spf=pass (google.com: domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) smtp.mailfrom=thiago@macieira.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=from:to:subject:date:message-id:in-reply-to:references:mime-version
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=KcR6MIAsI5r9wT8xObvjVtsrPea8TU8k45eNDYhuUn8=;
        b=ZeakLnn+kP5aWmcXG+RVVVTZsRe0NEPGlulp8Q6QPHytwS05P7EZ9cH9Q/CF8gc7Iw
         Bstuyd9tB7wpPVkxwnLWqqU6jTtPXjNrtsxuOkMBX7zSEI2V7+I4s2oYwmHniKIAvulC
         10XFTtYq7s60VIMDhNn5bdsXJklQ/lP322EXoMT280FZWSr+5DXzhikjnqSzsDXRaMd2
         Sz2SE+gOjIyKYs+gYFFxsRf5vCehy2JJJvBImLRuqQyy2Zr+bDcqmPsk0J4Jn2B11Lk3
         lfM9NwPQc/iex5usv9oOQS8KlibOc2cR9qsGM3QT0YGvoKuoOBrWxw6zt9v5O6sKglrH
         FQzw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to
         :references:mime-version:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=KcR6MIAsI5r9wT8xObvjVtsrPea8TU8k45eNDYhuUn8=;
        b=m8CJhG3pczzDJSrqmVfU19DozTxn6SQfDNV8OU0NCIuPm8cu6Y30uEObr8/T+EnyR/
         UzoXyA5UY8aHIvrI4wHuCs+sHiUFWZlK2sDEattATFbb+aESXZIspsuQBoylz0DTCYYD
         1MJJ62BmEaZFbw6fr8yi2ZNP/6BAnHDeZRZcS+4vdKWBzKlrgpDYP96o+vbhahQHjz7H
         ZlSXc+iIGzUNsU1WoKr747K80ZMwgKa9Gl6FTXwct93IriPT9KepjoFVmgcx+mF5b7cc
         LOmAutg5LTfLq3QixI+lwHqtClTgViUAgGTphXD3yDj3YLkmopsnLarbJUEFiJTOLy4S
         krGA==
X-Gm-Message-State: AIVw113uJzvCkcXPsyJOVnCjZI0bjozexZa3W2IEBPQ5GlEW622OFHz1
	87/T0kaHPyVSfmSH
X-Received: by 10.36.200.133 with SMTP id w127mr3319550itf.51.1501686025915;
        Wed, 02 Aug 2017 08:00:25 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.146.87 with SMTP id u84ls12853726iod.11.gmail; Wed, 02 Aug
 2017 08:00:24 -0700 (PDT)
X-Received: by 10.36.82.67 with SMTP id d64mr5829674itb.119.1501686024534;
        Wed, 02 Aug 2017 08:00:24 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1501686024; cv=none;
        d=google.com; s=arc-20160816;
        b=DdStbeOL7zdQU22eId7ZjxpserzwtRQxuJtSdD5C2bV9fwiJXyBPKG9TFjP6uHCYLj
         TDBZxera1xbfcGeTral4QTUYVvkQL6I/Z6+HAGW1/3OEfi3G8dw7vowOvo5K739QZBcN
         /slQyEL+l0uqb7ZuUt8ovjteXCBXft0SDv7OTH4WrZQa3O5FUHVS5Vlwgi+C7D68sREq
         53dvpaEU2A8ArMDtj5ZLxmCZdjAMoF4gtjBUT05MspFFYKzbGXnmCqh0yyHIEmD87Ink
         sP6tNWfO4fxZ/onA34uCDR6Woj21wYVNtXgil1ulCzx6yOZLx0AwVhPXzB8y1A87cb4I
         YIpw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:to:from:arc-authentication-results;
        bh=PvQ4Kgj6K8IyLDBSNS2vqHMLP/LYHcfWgKXNP7rEL2g=;
        b=G3+JwwkUap4avJRAgynHH7BZQ+ny98xBLDcj76ZFBJRh+37HvBCSADLfqAqKjvcPgW
         FboHT+HCg6ojM28SZAfWTXFosI87D4u1uCsvwSngthj6uAz7BnMRn/QcR45vjJGU9Eqn
         96xruxJoS5d7jFwXZNpc4zOcsnzZ/gMLybR3/CdkqX9gBvPx1HSy8KXkD2DQaITZiqbj
         mLaXaGGEpeSoRrvKHIUqWyHA+gilrd1EOFvHOaBXxJJ8zv/oYkEfgC5O4jcUlCk7Af7j
         Y16Aq7w79pX1ibaiA8sU+orQ69KENszG9S7o7Oii1TspHYElTl0YqJvgPVmRTzb5jIOt
         gmzA==
ARC-Authentication-Results: i=1; mx.google.com;
       spf=pass (google.com: domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) smtp.mailfrom=thiago@macieira.org
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [2a01:4f8:d13:f81:21c:14ff:fe01:12a3])
        by mx.google.com with ESMTP id i134si5616267ioa.404.2017.08.02.08.00.23
        for <std-proposals@isocpp.org>;
        Wed, 02 Aug 2017 08:00:23 -0700 (PDT)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) client-ip=2a01:4f8:d13:f81:21c:14ff:fe01:12a3;
Original-Received: from tjmaciei-mobl1.localnet (unknown [134.134.139.77])
	by gondolin.macieira.info (Postfix) with ESMTPSA id 026EB11B5E1
	for <std-proposals@isocpp.org>; Wed,  2 Aug 2017 08:00:17 -0700 (PDT)
In-Reply-To: <ols5p7$lha$1@blaine.gmane.org>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3
 as permitted sender) smtp.mailfrom=thiago@macieira.org
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <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:33534
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/33534>

On Wednesday, 2 August 2017 02:25:01 PDT Bo Persson wrote:
> In my experience it was just a handful of places in a (not that large)
> code base. And most of those places already had a comment that the
> fall-through was intentional.

There were a couple that didn't and those are the ones that took time to 
investigate.

I think it was about 10 inside the Qt entire codebase (which OpenHub clocks at 
7.9 million LOC).

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

-- 
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/2907027.xNHN6QKsd3%40tjmaciei-mobl1.

.
