Home » Community » U++ community news and announcements » *Maps syntax sugar
*Maps syntax sugar [message #40898] |
Fri, 04 October 2013 18:15 |
|
mirek
Messages: 13976 Registered: November 2005
|
Ultimate Member |
|
|
All maps now support operator(), which is equivalent to Add with chaining (and, syntactically, is used the same way in other places in U++):
VectorMap<int, String> x; // .. or ArrayMap, SortedVectorMap, SortedArrayMap, ValueMap
x(1, "one")(2, "two");
[Updated on: Fri, 04 October 2013 18:15] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat May 11 16:45:06 CEST 2024
Total time taken to generate the page: 0.02740 seconds
|