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.

Computer Science & Information Technology

You might also like to view...

Nested lists are used for items that follow some defined sequential order.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of these sorting procedures can introduce bias into information?

A) alphabetical B) chronological C) cost D) All of the above. E) None of the above.

Computer Science & Information Technology

A(n) ________ broadband connection is used mostly in areas that cannot get other types of broadband service

Fill in the blank(s) with correct word

Computer Science & Information Technology

Art is more explorative in nature whereas design seeks to fulfill a functional requirement

Indicate whether the statement is true or false

Computer Science & Information Technology