220 35530 <2547252.rrUKt5pT0v@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: Rotational shift operator
Date: Sat, 25 Nov 2017 20:45:09 -0800
Lines: 38
Approved: news@gmane.org
Message-ID: <2547252.rrUKt5pT0v@tjmaciei-mobl1>
References: <69593098-e2cc-487e-bd14-9001b27aa7c1@isocpp.org> <4569243.5CL4mZyDPR@tjmaciei-mobl1> <4d87c639-c195-47e2-b74e-ebb456ec087f@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: blaine.gmane.org 1511671516 771 195.159.176.226 (26 Nov 2017 04:45:16 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 26 Nov 2017 04:45:16 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBWEN5HIAKGQEOEBZJQY@isocpp.org Sun Nov 26 05:45:07 2017
Return-path: <std-proposals+bncBCB4TK757YBRBWEN5HIAKGQEOEBZJQY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qt0-f198.google.com ([209.85.216.198])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCB4TK757YBRBWEN5HIAKGQEOEBZJQY@isocpp.org>)
	id 1eIooT-0007sF-Kw
	for gclcip-std-proposals@m.gmane.org; Sun, 26 Nov 2017 05:45:05 +0100
Original-Received: by mail-qt0-f198.google.com with SMTP id a19sf11022360qtb.22
        for <gclcip-std-proposals@m.gmane.org>; Sat, 25 Nov 2017 20:45:13 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1511671512; cv=pass;
        d=google.com; s=arc-20160816;
        b=WTdN0m5bTf0brUwzBokUGycIkoee16QWVPmQzaodKIPae2WrDftyKw2fnphPDyeNel
         L9Ixjp8gMmtYHX8RNt5cif77p3l2Ou9qob1biHiYNaJi2vq+Jsej5MkkcwZi/56RlAI4
         rO4n4+BOb9zWuk8fi4trPHHKd1tw2vWM5jd1sNIOYaJhu30Jwqw1G4hqihI0VxMZoxMy
         w76DKg9l95c6m1qOUeykIHwKwjhV1G7MRhVni+wpnygheI9YxQCzONLpaNLjEcQtfPoO
         /kubgA+1a4gqcNg/Q6SP8VY/1KgaWp6cddHe1NLe3kAGc1olfNuP0YR7kIz5OiMWD0Wj
         A83g==
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:content-transfer-encoding
         :mime-version:references:in-reply-to:message-id:date:subject:to:from
         :arc-authentication-results:arc-message-signature:dkim-signature
         :arc-authentication-results;
        bh=e6Syzv13iMV62XItKb+VKQo+IoJ7lvVWgkGgXezlNmA=;
        b=h7ClDWBcunZLaDAR5CObx/wrndbzukL8EwF/jKYpeUvPncy5oj6+f2GD++5+lrqAeJ
         UEa5kssqpLDejk/Cain/JG2y39DHII8bL2PN+ERyEXkdgGTPtqGW5xD1LkR5d6Bl4Kxn
         MDDiIEMGpdSIBth7WH4pOWI5r9ZxsEYBm0MjI1m7INJtuWsOSDwBBQR29LFnq0cyfWva
         yaEg5Sv9KtbAOOyKOkkLAzefFcey1XZHHa2r9rHdlUXBmrehBvXMykLeiBOCr+Z0VSn0
         QbSuLEz6ADBkq0+oMpsB2j6wgEe6jOsjnWVn1JdAZtuKLCoJBnU23/25Zaih+6ZmZH1x
         k2wQ==
ARC-Authentication-Results: i=2; mx.google.com;
       spf=pass (google.com: domain of thiago@macieira.org designates 209.222.10.136 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
         :content-transfer-encoding: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=e6Syzv13iMV62XItKb+VKQo+IoJ7lvVWgkGgXezlNmA=;
        b=H3yujhustMC6lgz2CumhFypGjQ5PedRWFr7flTbNiHQF682Sc0Eiezgwq1slFR0HHJ
         Ct6m0FKo/rVBSIV5FfaYQEI51NlOu3bA/Vwpf0V9OpgDCc3UA+Bv1FY/+BTNZDjZIVWY
         c6HkFayfrNFdAqXnrm/JvRXhO8C86yy1+BzcfTq3oiHfqunM8SqGTphviKOxWLycXJ5Q
         V883bZwYFXHCC/hVEajadSAnl3SmNSc1u6+qxYCWHZHykVke1CytcTXceaDzU9izLb2m
         4lIKZ5EhUZr88dfeEZWyWt3Y8M/LwyIw3lDKZg1YtSCNx1nULF+6yNOToorH/gCGxD7c
         an0Q==
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:content-transfer-encoding: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=e6Syzv13iMV62XItKb+VKQo+IoJ7lvVWgkGgXezlNmA=;
        b=c/hd+u7vIk/NhY1RDib6rMPmB23ON7O/UzlWjT6sdTpoIOnWsJ6wje0nfeSsrcEf/q
         ejhwj74fxDgpF63pnSZNVjLI+T0dIKoOtmoJnDPl47FWmAYyphXt6h4hVyhQBc7LbcFd
         D36KNleTQs7SILUdVQLnXRTlSxqvHZ5JjRMmxkPzAtA7qFx6DeOj0rEpwCjtc21706eo
         xnzDHvJ2onuBChcBJMKWg1YkX/YOotnDjG+N7mSwzctmXY23Xh8Qiwk6n7xY7DWd0uCp
         ObpgTZ+SMjqzIKgUewOiBG2v8RprMtDZ5Gd0viipHWmexQI3yH2C+0HcIap/ne4XpSyM
         RUs 
X-Gm-Message-State: AJaThX4rEkqLEr9I1K+eagNEHYqny2dJ+MOQ1ICAVJa2bQxUeCgFo8qS
	EFdbrY7ay3ONQ214dSZretBJjA==
X-Google-Smtp-Source: AGs4zMYBg/6O4xEDvtzYkI/OHttVmdxrHOiuod8wrp5NIUZg2Qkf0czL9tHDE9w78/4i/czUxjTdsg==
X-Received: by 10.55.78.17 with SMTP id c17mr18021211qkb.41.1511671512838;
        Sat, 25 Nov 2017 20:45:12 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.55.222.18 with SMTP id h18ls6150139qkj.6.gmail; Sat, 25 Nov
 2017 20:45:12 -0800 (PST)
X-Received: by 10.200.16.3 with SMTP id z3mr4254825qti.61.1511671512097;
        Sat, 25 Nov 2017 20:45:12 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1511671512; cv=none;
        d=google.com; s=arc-20160816;
        b=lidZbZSxaUPQm7ALzk8pebK4iJHabGToTZkvohsknA3wkb1vRGTKjEQStCgPhLtf7h
         WKxRXDZcruFcsW0MgkWrzqw2UMcN5d7zvQszwLcKkFI6V+kINw9aP/couQoin9xum/Wx
         zOVjDt3ew70bAcwuwTgPqLGkb67y6iyCoL8uVNTFlDlTy+bUSh0Q09MAHEVyWpyVPS+d
         XfIX5IsI/15UrCMOPIhB19MMUPAcOvchYKm9IcJH5KeIUlKyB/L0u3y4G7WtOuRXAUPx
         /i8WXqSaROW30VB7J+jCh2ro9eFBwF9uQ+NFSdnGFcJs3kzxrw+atcrCPg//IZ00tcte
         Hzhw==
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=iVinagaZzWJinws2UMpNZnn4JIahguF9XT1X5O7VGRo=;
        b=CqpENmAHGGYAlQ/SsFubxFyTUJs8TVeaxNELZXh1knoKDtKZVzXwPfwwzmpK8SPxGM
         Uw1QZ+BBSR3cdwynmeFUI/TtqyIBK7MqppgqG/P/oys86rgqzU0idr+YAwEs9gPxxz+y
         t+1AYSf+El98LHNUx1IO25c5BYMtKludciUTOapQa8Jt7REE2lVP0Ln5CtSUmBCfxLO7
         xcJXSwmZ7ZwWlCFFxWBITfopEp9HBAyXd1a1YJj8XbjtuA14QrqswWMUttjCcgQadpYG
         BygahqYpMC5DJuB7ZfkIG6dMXM0sCtdzq7EulPSFYsRAlc36HsgG87qTdi9qJ21hrviD
         AWrQ==
ARC-Authentication-Results: i=1; mx.google.com;
       spf=pass (google.com: domain of thiago@macieira.org designates 209.222.10.136 as permitted sender) smtp.mailfrom=thiago@macieira.org
Original-Received: from mail.macieira.info (arvernien.macieira.info. [209.222.10.136])
        by mx.google.com with ESMTPS id l56si15890103qta.135.2017.11.25.20.45.11
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sat, 25 Nov 2017 20:45:11 -0800 (PST)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 209.222.10.136 as permitted sender) client-ip=209.222.10.136;
Original-Received: from tjmaciei-mobl1.localnet (unknown [IPv6:2601:1c0:4501:5f9f:10a8:5dac:57fd:2747])
	by mail.macieira.info (Postfix) with ESMTPSA id 98EB623B5
	for <std-proposals@isocpp.org>; Sat, 25 Nov 2017 20:45:10 -0800 (PST)
In-Reply-To: <4d87c639-c195-47e2-b74e-ebb456ec087f@isocpp.org>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 209.222.10.136 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:35530
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/35530>

On s=C3=A1bado, 25 de novembro de 2017 13:17:18 PST Nicol Bolas wrote:
> > But my assertion remains: if they had really been needed, they'd have b=
een
> > standardised and added to some language by now.
>=20
> One could make the same case about `optional`, for example. Or `variant`.
> Or all of `filesystem`. Or a C++ file IO API that isn't stupid. Or any
> number of other things that the language/library clearly needs but we don=
't
> have.

Sorry, that's not the same. I was setting the bar for adding an operator.

Those have existed for some time as implementation-specific extensions, suc=
h as=20
the Intel-defined intrinsics in <x86intrin.h> (GCC and Clang) and <immintri=
n.h>=20
(ICC and MSVC).

So like most of the standardisation coming from Boost, we get experimented =
and=20
have found what works.

But no one has created an operator as an extension.

--=20
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

--=20
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 e=
mail 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/2547252.rrUKt5pT0v%40tjmaciei-mobl1.

.
