- 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...
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia