- What are the side effects of macros?
- What is a class/function template? What is a template class/function?
- What is a template parameter list? What is a template argument list? Once we have a class template, we can instantiate it either explicitly or implicitly. In what kind of scenario is explicit instantiation necessary?
- What does polymorphism mean in C++? What is the difference between function overloading and function overriding?
- What are type traits? How do we implement a type trait?
- In the ch4_5_class_template_implicit_inst_B.cpp file, we said implicit instantiation generates the X<int> class, and then creates the xi object and generates the X<int>::f() function, but not X<int>::g(). How can you verify that X<int>::g() is not generated?
- Using template metaprogramming, solve the problem of f(x,n) = x^n, where n is a const and x is a variable...
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine