
13 Apr
2004
13 Apr
'04
1:05 a.m.
"Thorsten Ottosen" <nesotto@cs.auc.dk> wrote in message news:c5fdhk$f2n$1@sea.gmane.org... [snip] Doh!
vector<int> vec();
my_copy( my_sort( my_unique( vec() ) ), ostream_iterator<int>( cout ) );
my_copy( my_sort( BOOST_LVALUE( my_unique( BOOST_LVALUE( vec() ) ) ) ), ostream_iterator<int>( cout ) );
instead of
vector<int> temp1( vec() ); vector<int> temp2( my_unique( temp1 ) ); my_copy( my_sort( temp2 ), .... )
br Thorsten