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