Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
template.cpp
Go to the documentation of this file.
1 template <typename T>
2 T muladd(T a, T b, T c)
3 {
4  return a * b + c;
5 }
6 
7 // Explicitly instantiate 'muladd<T>' for 'int's.
8 template int muladd<int>(int, int, int);
template int muladd< int >(int, int, int)
T muladd(T a, T b, T c)
Definition: template.cpp:2