cppfront icon indicating copy to clipboard operation
cppfront copied to clipboard

[SUGGESTION] Let us write std::array as if it were a built in array for cppfront

Open 12345swordy opened this issue 8 months ago • 4 comments

I.E.

numbers: int[]= ( 1, 2 );

which corresponds to

numbers: std::array<int,2> = ( 1, 2 );

It eliminates guidance literature of having to tell them to use std::array instead of c++ built in array, by having the std::array be the default building block, when using the built in array for cppfront.

12345swordy avatar Jun 22 '24 16:06 12345swordy