Home » Community » U++ community news and announcements » Tuple::Set/SetA...D
Tuple::Set/SetA...D [message #44436] |
Thu, 12 March 2015 08:45 |
 |
mirek
Messages: 14258 Registered: November 2005
|
Ultimate Member |
|
|
Tuples got a new Set methods, which simply set the corresponding attribute(s) (and return *this).
The reason is to simplify in-place creation in containers:
Vector<Tuple2<int, String> > foo;
foo.Add().Set(1, "hello");
|
|
|
Goto Forum:
Current Time: Wed May 14 19:45:32 CEST 2025
Total time taken to generate the page: 0.01550 seconds
|