ReactOS 0.4.15-dev-7705-g2320c37
partial_spec.cpp
Go to the documentation of this file.
1/*
2 * It is known that this code not compiled by following compilers:
3 *
4 * MSVC 6
5 *
6 * It is known that this code compiled by following compilers:
7 *
8 * MSVC 8
9 * gcc 4.1.1
10 */
11
12/*
13 * This code represent what STLport waits from a compiler which support
14 * the partial template function ordering (!_STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER)
15 */
16
17template <class T1>
19
20template <class T1>
21int func(T1 p1);
22
23template <class T1>
25
26
27int foo()
28{
29 int tmp1 = 0;
31 func(tmp1);
32 func(tmp2);
33 return 0;
34}
GLenum func
Definition: glext.h:6028
int foo()