Gobelijn API documentation
- generated for commit a0cbea7
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Pages
incompatible-template.cpp
Go to the documentation of this file.
1
template
<
typename
T>
2
T
muladd
(T a, T b, T c)
3
{
4
// Template definition with incorrect semantics.
5
return
a + b + c;
6
}
7
8
// Explicitly instantiate 'muladd<T>' for 'int's.
9
template
int
muladd<int>
(int, int, int);
muladd
T muladd(T a, T b, T c)
Definition:
incompatible-template.cpp:2
muladd< int >
template int muladd< int >(int, int, int)
main
cpp
linking
incompatible-template.cpp
Generated on Fri Feb 1 2019 09:33:32 for Gobelijn API documentation by
1.8.6