|
I have every intention of implementing an array() method that allocates a C++ array, and using [] to denote size-prefixed array objects with a double*() or variant* method. Basically, any [ not following an identifier would be assumed an array, which would be passed to array() as a constructor argument using GNU extensions/C++0x, like so:
[ 1, 2, 3 ] array((int[]){1, 2, 3})
[ 1.5, "string", 2 ] array((variant[]){1.5,"string",2})
|