Computer Science - Object Oriented Programming Using C++ - Discussion

Discussion Forum : Object Oriented Programming Using C++ - Section 3 (Q.No. 7)
To use a template class member function, use the ________ with the instantiation
scope resolution operator
dot operator
class definition
keword template
Answer: Option
No answer description is available. Let's discuss.
2 comments Page 1 of 1.

Pkoli said:   8 years ago

template <class T>
class Example {
void do_something();
int main()

Example<int> ExampleInt;.

ExampleInt.do_something () ; //The class template member function is accessed by the object i.e. the instantiate using the dot operator.

Rama said:   8 years ago
Please explain.

Post your comments here:

Your comments will be displayed after verification.