Does D have object wrappers for primitives?

Cauterite via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jul 29 13:40:56 PDT 2016


On Friday, 29 July 2016 at 20:26:47 UTC, Ali Çehreli wrote:
>
> I was going to suggest Algebraic because it allows arrays of 
> mixed primitive types (wrapped in Algebraic):
>
>   https://dlang.org/phobos/std_variant.html#.Algebraic
>
> Ali

It could work, but keep in mind Algebraic is a structure, not an 
object.


More information about the Digitalmars-d-learn mailing list