2013-06-24 12:45:28 +08:00
|
|
|
template<typename T> T f() { return T(); }
|
|
|
|
template<typename T> T f(T);
|
|
|
|
namespace N {
|
|
|
|
template<typename T> T f() { return T(); }
|
|
|
|
template<typename T> T f(T);
|
|
|
|
}
|
2013-06-25 06:51:00 +08:00
|
|
|
|
|
|
|
template<int N> int template_param_kinds_1();
|
|
|
|
template<template<typename T, int, int> class> int template_param_kinds_2();
|
|
|
|
template<template<typename T, typename U, T> class> int template_param_kinds_3();
|