Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 13975
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: Fri Mar 29 15:00:08 CET 2024

Total time taken to generate the page: 0.02112 seconds