C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Add operator for element wise multiplication.

From: Patrik Tegelberg <patrik_at_[hidden]>
Date: Mon, 16 May 2022 10:58:51 +0200

P.S. about overloading operator ->*.

Come to think of it, the dot product can not  use *= so I’ll let * mean point wise, which do use *= and let ->* mean dot product, so ->*= is never needed.

 

Sent from Mail for Windows

 

From: Sebastian Wittmeier via Std-Proposals
Sent: Sunday, 15 May 2022 22:08
To: std-proposals_at_[hidden]
Cc: Sebastian Wittmeier
Subject: Re: [std-proposals] Add operator for element wise multiplication.

 

Hi Patrik,

operator->* (pointer-to-member) can be overridden and is very similar in precedence to multiplication (one step higher only).

Best,

Sebastian

--

Sebastian Wittmeier

 

Received on 2022-05-16 08:58:55