What problems with templates have you encountered, or have you been warned about by your instructor, with regard to your compiler’s template facility?
What will be an ideal response?
This answer is local. Possible answers range from ‘no problems’ - I am
unaware of template problems with the Borland compilers, except that there are
ambiguities are reported that this compiler should resolve. Some later versions of g++
have pragmas (compiler directives) that allows some separation of template functions
and implementation. There is a somewhat related problem with Microsoft compilers
prior to VC++6.0, patch level 5. These compilers either did not give operators
overloaded as friends access to private data. A work-around is to place the friend
function definition (with the friend keyword) in the class definition.
You might also like to view...
SQL, which stands for ____________, is a standard language for working with database management systems.
a. simultaneous query logic b. structured query language c. sequential query language d. standard quasi language
A __________ is used to produce a pseudorandom string of bits of some fixed length.
A. PRF B. PRNG C. OFB PRNG D. TRNG