On Thursday, 19 August 2021 at 17:38:14 UTC, Tejas wrote:
As the topic says:Is there an equivalent to C++'s `explicit` keyword in D?
No, because all constructors are explicit in D.
Paul Backus via Digitalmars-d-learn Thu, 19 Aug 2021 10:45:46 -0700
On Thursday, 19 August 2021 at 17:38:14 UTC, Tejas wrote:
As the topic says:Is there an equivalent to C++'s `explicit` keyword in D?
No, because all constructors are explicit in D.