220 41569 <a9b23159-7c6e-40f9-ba5a-bf209421d71b@isocpp.org> article
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Farid Mehrabi <farid.mehrabi@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: operator[]= (array subscript assignment operator)
Date: Sun, 17 Mar 2019 02:42:27 -0700 (PDT)
Approved: news@gmane.org
Message-ID: <a9b23159-7c6e-40f9-ba5a-bf209421d71b@isocpp.org>
References: <39460c2e-f24c-4819-8678-267387948e69@isocpp.org>
 <6a65b6a7-5fc2-415f-be8e-fbeaae76e20f@isocpp.org>
 <6d4f1689-a221-4c38-9101-6776d1fad328@isocpp.org>
 <b351559b-5a53-4ade-a8ff-14a80c60fc27@isocpp.org>
 <1d04ad84-e474-413e-b4ab-93e947e7c0ce@isocpp.org>
 <778971a4-8253-4885-aeaa-0fd403257bb9@isocpp.org>
 <84cbcd7f-7ae5-4d9b-a57d-f99468d37698@isocpp.org>
 <694325b7-2f41-42a7-8228-1e57db2c3859@isocpp.org>
Reply-To: std-proposals@isocpp.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1198_1191212372.1552815747163"
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
	logging-data="242438"; mail-complaints-to="usenet@blaine.gmane.org"
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBC27JR6ERAOBBBNNXDSAKGQEFSOHZOA@isocpp.org Sun Mar 17 10:42:32 2019
Return-path: <std-proposals+bncBC27JR6ERAOBBBNNXDSAKGQEFSOHZOA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yw1-f72.google.com ([209.85.161.72])
	by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.89)
	(envelope-from <std-proposals+bncBC27JR6ERAOBBBNNXDSAKGQEFSOHZOA@isocpp.org>)
	id 1h5SJM-0010zt-03
	for gclcip-std-proposals@m.gmane.org; Sun, 17 Mar 2019 10:42:32 +0100
Original-Received: by mail-yw1-f72.google.com with SMTP id i21sf18341496ywe.15
        for <gclcip-std-proposals@m.gmane.org>; Sun, 17 Mar 2019 02:42:31 -0700 (PDT)
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=Jf1CO1kgK3UZuZhw2feghi4TWKCtK9gO3KM2/yI0Qnc=;
        b=woGb0Y0qJNeNqnucwKe8rRhglvD1n0TOMWN3g86ygjGAU55+KE/77mcR0DV/sNCdVD
         rIgElD0YuRhZIoPjh8oqujRf4QqgPnX2j+sNdAgUKK+asKJoEmCEysLR66BhMq3lYmEU
         4GuZUCQox5QIOcVGp7GOFclTwRanwofdQJsF1M0QTK4+M7G4B3e9fWbzlz9YGBcDMan0
         Y6NGytdZvuGf+5HbphThsApxWRavd+0Ib9UHSFvsx4DhealF7MhRej8BWBSrJ1pdQi7x
         PyqkuknQdYE7iRtNzVxp5cPeT4WiReFEW3GscrKzf97tc4tkLigw9766EU59YdK4c3rk
         eYrg==
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=Jf1CO1kgK3UZuZhw2feghi4TWKCtK9gO3KM2/yI0Qnc=;
        b=l7ZvxxEQYSyD2VNquv+kOFSUzmdLFChVFQuDQjydaYpzgDd/IpD+F3+Bgw/QgnBOJ1
         KtHdZLxCJaLieKUSXZPrdDy6731R3SOOlDfoAX66DerronOLZNxyU3C+vJMDof+MesHr
         KXTgjBjmeZ9Mzg8wF2ovp1Ll20rrAnzAUN4S4BGPxDkBVcdWUoxYgzQzY3zBKuiAkTO/
         PAXLsyReFpIh2DRb7GVrNwPc36pVrGPVJUCfymNHRZypEiE2x+mUF9RAs7EM3c1hkHHy
         GnyUiqJ4Tu4u+70rXBbzFo9ES0KmwU/2Pn7LDGRNtKAjVXdjLgYLqaPLpkUy35eJoytl
         GBKw==
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=Jf1CO1kgK3UZuZhw2feghi4TWKCtK9gO3KM2/yI0Qnc=;
        b=lA97huHx0PlLsQZcv4axYnDQfD7+mBCwdho24Z6yWTE2yARvlqabNJkinj1/u8J6TF
         R4vsCY3OeSg0cx6V+3X5XZBE1zFMtBeGg3fH7l3yKlixX9XMFHr4oscG6sz4adVSa18d
         6skg4Hm3FmGxmNUl9W5upIdYY9iII7FA8wQDb0E/6Yw77J1ltzD8yk/yqohIHXNBHvkh
         RxZb5MzuM8Jaka+ZvFeSkPXx0sgFi0ONKeCZ+FyjIbMDRGW96ex6BmSYO6DvuOUoMxE3
         wJqpqR02TiUYiJv14yBqDQzMHpfO/9L0ajyg1R7q4csty9V6UOQ/l50MfOgo1ouVcglX
         8C9w==
X-Gm-Message-State: APjAAAWem5N/Jrlt1TflrCF9Oh1CRT0hpaej7EO9pXI20AfNnWgtbSiv
	AGPuH6F/O7sQQcLB4YUUWCpu4A==
X-Google-Smtp-Source: APXvYqzw3Kzz1M0g/A4xzXgk7T5QGi15SSjqBqEwkTIpCjFUH+G3UEKLMYQ+8RNoY1h0I/HZYxOYXA==
X-Received: by 2002:a25:e82:: with SMTP id 124mr6446652ybo.54.1552815750602;
        Sun, 17 Mar 2019 02:42:30 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a25:50cb:: with SMTP id e194ls2882804ybb.12.gmail; Sun, 17
 Mar 2019 02:42:28 -0700 (PDT)
X-Received: by 2002:a25:8b02:: with SMTP id i2mr10037638ybl.311.1552815748242;
        Sun, 17 Mar 2019 02:42:28 -0700 (PDT)
In-Reply-To: <694325b7-2f41-42a7-8228-1e57db2c3859@isocpp.org>
X-Original-Sender: farid.mehrabi@gmail.com
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:41569
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/41569>

------=_Part_1198_1191212372.1552815747163
Content-Type: text/plain; charset="UTF-8"

Even more general could be to overload a complex expression which  is currently only possible via expression templates and lazy evaluation technics. One might try to use operator overloading in a matrix caculation library:

matrix a,b,c,d;
//...
a=b+c*d;// can I overload this too?

regards,
FM

-- 
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/a9b23159-7c6e-40f9-ba5a-bf209421d71b%40isocpp.org.

------=_Part_1198_1191212372.1552815747163--

.
