$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: boost_www (boost_www_at_[hidden])
Date: 2008-07-16 03:01:54
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