What did you think about an implicitConversionOp ?

Walter Bright newshound2 at digitalmars.com
Wed Dec 30 01:48:44 UTC 2020


On 12/27/2020 5:09 AM, IGotD- wrote:
> On Sunday, 27 December 2020 at 09:27:05 UTC, Walter Bright wrote:
>>
>> 1. implicit declaration of variables
>>
> 
> Can you give an example of an implicit declaration of a variable.
> 

int x1 = 0;
xl = 3;  // Oops!

 > Does C++ support this implicit declaration?

No.


More information about the Digitalmars-d mailing list