
17 Dec
2008
17 Dec
'08
12:26 p.m.
Dear list, is there a way to make constructs like this one work? double a, b, c; tie( tie( a, b ), c ) = make_tuple( make_tuple( 1., 2. ), 3. ); This leads to the first parameter of the "outer" tie getting initialised by the return value of the "inner" tie. That means a temporary gets passed by reference, and the compiler (sort of reasonably) doesnt want to do this. Best regards, Julius