Move Constructor Syntax
Salih Dincer
salihdb at hotmail.com
Fri Oct 11 10:17:07 UTC 2024
On Friday, 11 October 2024 at 06:25:02 UTC, Walter Bright wrote:
> In any case, selection of syntax has many axes of constraints.
> Picking the best one is always a collection of compromises.
>
> For example, every feature on your car is a collection of
> compromises. Even the "safety is our top priority" is
> inevitably false.
>
> Even
> ```
> a = b
> ```
> is not intuitive. Assignment is quite different from algebraic
> equality. There's nothing inherent there about a copy vs a
> move, either.
>
> It's all just what we learn and get used to.
Suppose everything goes well and we continue on our way with the
best option. Will we be able to know by looking at a flag that
the object has been moved before?
SDB at 79
More information about the Digitalmars-d
mailing list