-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Learning Boost C++
By :
For multiple choice questions, choose all the options that apply:
boost::swap over std::swap?a. There is no real advantage
b. boost::swap invokes swap overloads supplied with the passed type, if any
c. boost::swap is faster than std::swap
d. boost::swap does not throw exceptions
a. Yes. A visitor can only be applied to one or two variant arguments
b. Yes. A visitor can be applied to one or more arguments
c. No. The member operators take only one variant argument
d. None of the above
BOOST_STATIC_ASSERT(x == 0); // x is some variable
a. Yes, provided x is of an integral type
b. Yes, provided x is declared as a const static numeric variable
c. No, x is a variable, and its value cannot be known at compile time
d. Only expressions involving sizeof are valid in a BOOST_STATIC_ASSERT...
Change the font size
Change margin width
Change background colour