adspace


What is the difference between a type-specific template friend class and a general template friend class?

Answer Posted / Piyush Kumar Singh

A type-specific template friend class is a friend class that has been declared as a template and is specific to a certain data type. A general template friend class, on the other hand, is a friend class that can operate across all data types. The template keyword is used for type-specific friend classes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can union be self referenced?

1267


daily Routine of father

1485


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1165


What character terminates all character array strings a) b) . c) END

1397


What is the latest version on c++?

1209