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: 13975 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: Sat May 04 17:41:39 CEST 2024
Total time taken to generate the page: 0.03056 seconds
|