2 // { dg-options -std=c++0x }
20 template<class Derived> static void once();
23 template<class Derived>
26 tonc() : onc(&grac::once<Derived>) {}
28 static Derived& get();
31 template<class Derived> void grac::once()
33 tonc<Derived>::get().h();
39 template<typename T, int = sizeof(&T::m_R)>
44 setR(T* m, has_R<T>* = 0)
47 inline void setR(...) { }