blob: 967e10f6a5bd827292679fb938bb617f65623e2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// PR c++/57550
template <bool (double)> bool Wrapper(double);
template <class T> void MakeHandler(bool (T));
class Handler
{
public:
template <typename T> static void SetPrimitiveHandlers()
{
MakeHandler(Wrapper<Append<T> >);
}
private :
template <typename T> static bool Append(T);
};
template void Handler::SetPrimitiveHandlers<double>();
|