July 2015
Intermediate to advanced
558 pages
13h 31m
English
For multiple choice questions, choose all the options that apply:
foo(1.0, std::string("Hello")) resolve to?a. template <typename T, typename U> foo(T, U);
b. foo(double, std::string&);
c. template <> foo<double, std::string>
d. There is ambiguity
a. It must have a static value field
b. It must have an embedded type called type
c. It must have a static type field
d. It must have an embedded type called result
boost::mpl::or_<boost::is_floating_point<T>, boost::is_signed<T>>?a. Checks whether type T is signed and a floating point type
b. Generates a metafunction that checks (a)
c. Checks ...
Read now
Unlock full access