Open liuq19 opened 1 year ago
I don't think this is correct c++ syntax.
A typo has been fixed and C++11 has supported list initialization. However, the main issue is how to differentiate between object and array types. For a example, doc{"a", 1}
may be Array["a", 1]
and Object{"a", 1}
.
Now, initialization is complex as follows:
Can we use the c++11 initialization list: