Commit 5203db91 authored by Ashok Kumar, Bharath's avatar Ashok Kumar, Bharath
Browse files

Update 09_generics.tex

parent c2553e00
Pipeline #6880 passed with stage
in 1 minute and 46 seconds
......@@ -328,7 +328,7 @@ One can instantiate that class and create type aliases to that class. Especially
\item there is \underline{no} space overhead in the instantiated template compared to a hand-written class.
\end{itemize}
Each class template is translated into a regular class at template instantiation. Those instantiations get internally a unique name tepending on the
Each class template is translated into a regular class at template instantiation. Those instantiations get internally a unique name depending on the
instantiated template parameters, \eg \cpp{mypoint<double>} $\Rightarrow$ \texttt{[...]mypointId[...]} (in g++)
After instantiation of a template, all its internal types, member functions, member variables and static constants are concrete, have a concrete type
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment