Implicit type conversion depending on assignment

Alexander Zhirov azhirov1991 at gmail.com
Fri Mar 24 09:59:47 UTC 2023


On Friday, 24 March 2023 at 09:46:26 UTC, Jacob Shtokolov wrote:
> BTW, you can also `alias this` your struct value and then use 
> `std.conv : to` for casting, if you don't need specific casting 
> rules.

I don't quite understand what you mean? Could you show me an 
example?



More information about the Digitalmars-d-learn mailing list