16 Jul
2008
16 Jul
'08
7:01 a.m.
Hello Sorry, I have several questions on C++ instead of any boost library. But I believe the boost guys could easily give me help. :-) 1) I found code fragment like this, esp. in macro definitions: do { \ \ // ... \ } while(0) Why is the do/while clause needed here? 2) I found large amount of code like this in a class implementation: AClass::func() { this->func1(); } Why is 'this->' needed? Thanks for any help. B/Rgds Max