Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

C++ Class Template Declaration

template <class T>
class className {
  private:
    T var;
    ... .. ...
  public:
    T functionName(T arg);
    ... .. ...
};
 
PREVIOUS NEXT
Tagged: #Class #Template #Declaration
ADD COMMENT
Topic
Name
9+4 =