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

Home » Community » U++ community news and announcements » Tuple::Set/SetA...D
Tuple::Set/SetA...D [message #44436] Thu, 12 March 2015 08:45
mirek is currently offline  mirek
Messages: 14291
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");

Previous Topic: Value::operator~
Next Topic: RichText/Qtf/RichEdit now support round borders for table cells
Goto Forum:
  


Current Time: Thu May 07 03:21:36 GMT+2 2026

Total time taken to generate the page: 0.00406 seconds