
14 Mar
2007
14 Mar
'07
1:07 p.m.
Oliver.Kowalke@qimonda.com wrote:
How to handle future< int > && future< std::string > && future< my_class
? Should promise contain a tuple (fusion container?) for the result types?
The composed future of future<T1> || future<T2> returns a variant<T1, T2>, and a composed future of future<T1> && future<T2> returns a tuple<T1, T2>. Regards Hartmut