int[] as constructor

Steven Schveighoffer schveiguy at gmail.com
Wed Dec 5 17:21:44 UTC 2018


On 12/5/18 12:00 PM, Steven Schveighoffer wrote:
> But in cases where you aren't assigning a variable, 
> float[](1.0, 2.1, 3.5) would be more desirable than casting (since 
> casting is dangerous).

Sorry, I meant float[]([1.0, 2.1, 3.5])

-Steve


More information about the Digitalmars-d-learn mailing list