Move Constructor Syntax

zjh fqbqrr at 163.com
Thu Oct 10 07:02:12 UTC 2024


On Thursday, 10 October 2024 at 06:56:46 UTC, zjh wrote:
> `C++` has a deduced this,like this:
> ```cpp
> struct A {
>     template <typename Self>
>     void bar(this Self&& self);
> };
> ```

The `reduced this` here should be similar to simplifying 
countless versions of `this`.
The benefits of `deduction` are truly infinite.



More information about the Digitalmars-d mailing list