Calypso and the future of D
Kagamin via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jan 25 11:34:56 PST 2015
On Friday, 23 January 2015 at 18:43:30 UTC, Andrei Alexandrescu
wrote:
> 2. We (or Calypso) define D class counterparts for polymorphic
> types thrown from C++, notably std::exception and subtypes.
> N.B. those are D classes, not D structs
Wouldn't it be easier with structs? They lack only one feature -
inheritance, while classes lack many features necessary to value
types: being a value type and deterministic destruction.
More information about the Digitalmars-d
mailing list