Move Constructor Syntax

zjh fqbqrr at 163.com
Wed Oct 9 00:46:08 UTC 2024


On Tuesday, 8 October 2024 at 17:57:55 UTC, Anonymous wrote:


Why not:

```d
struct S {
   ~this(...)
   this(...) // existing variants
   _copy (...) // copy constructor
   _move (...) // move constructor
   _blit (...) // postblit constructor
   _future (...) // unknown now
   copy (...)   // normal method
}
```


More information about the Digitalmars-d mailing list