Setting field of struct object
zjh
fqbqrr at 163.com
Mon Jan 22 15:45:45 UTC 2024
On Monday, 22 January 2024 at 15:33:01 UTC, ryuukk_ wrote:
> it only took me 1 project to never want to touch C++ again..
D language used to have no `copy constructor`, isn't it now added
in again?
You have to admit the good aspects of `C++`.
You should take a look at the `latest C++`. C++ has already
learned many advantages of `D`, but D has not made `significant
progress`!
As a user, `C++` is really not much different from D, and even
surpasses D `in many aspects`.
`RAII `, `variable parameter` template, `coroutine, concept`,
`value semantics`, very easy to understand.
Moreover, the `inheritance` of C++ is very enjoyable to use in
many aspects.
More information about the Digitalmars-d-learn
mailing list