July 2015
Intermediate to advanced
558 pages
13h 31m
English
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 ...
Read now
Unlock full access