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