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