1 // Origin: PR c++/42824
8 template<int T, int T2>
11 Unit(const Unit<T, T2>& other) {}
20 Quan(double value, Unit<T, T2> unit) {}
22 typedef Quan<0> Scalar;
34 typedef typename hlp<T>::type type;
41 Eval(const T& object){}
48 template<typename U> struct Wrap {};
50 template<int V, int V2>
51 void value(Wrap<Quan<V2> >) {}
54 void value(Wrap<Scalar>) {}
58 typedef typename T::template AssoType<V>::type Type;
59 value<V>(Wrap<Type>());
65 static void eval(const Mtrl& mtrl) {