December 1, 1999

Exporting Templates Under C++

Question: How do I create a template library so that I can export templates and use them in different programs? Answer: I’m not sure I understand what you mean by

Debugging Macros

Question: In our project we are using many long macros. How we can debug them (setting breakpoints, etc.)? Is there any solution for that in Visual C++ 6.0? Answer: Unfortunately,

Default Arguments to Functions

Question: Is it considered acceptable to use default argument initializers both in a definition of a function (e.g., void foo(int x =10) {…}) as well as its declaration? Stroustrup, in