But, how to create class instance with type deduction in usual
way ?
auto list = new List( extensions );
You can't; there's no type deduction for constructors.
Paul Backus via Digitalmars-d-learn Fri, 22 Jan 2021 22:05:34 -0800
But, how to create class instance with type deduction in usual
way ?
auto list = new List( extensions );
You can't; there's no type deduction for constructors.