U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » *Maps syntax sugar
*Maps syntax sugar [message #40898] Fri, 04 October 2013 18:15
mirek is currently offline  mirek
Messages: 14290
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

Previous Topic: ide: main.conf
Next Topic: Leap seconds support
Goto Forum:
  


Current Time: Mon Apr 27 04:51:32 GMT+2 2026

Total time taken to generate the page: 0.00547 seconds