13 Aug
2008
13 Aug
'08
9:46 a.m.
Hi All I wonder about expression repeat_p parameter. int c; c=12; repeat_p(boost::ref(c)) is OK but what about repeat_p(boost::ref(c) - 1 ) ??? (compiling but not working correctly) The only solution I have found is int c, c1; c=12; c1 = c-1; repeat_p(boost::ref(c1)) Is it possible to insert an expression in repeat_p without c1 extra variable ? ---------------------------------------------------------------------- Podbij Dziki Zachod, wygraj laptopa lub iPoda
5938
Age (days ago)
5938
Last active (days ago)
0 comments
1 participants
participants (1)
-
piotr270977@interia.pl