}
template<typename T, typename Traits>
- static void mark(...)
+ static void trace(...)
{
ASSERT_NOT_REACHED();
}
+
+ template<typename T>
+ struct OtherType {
+ typedef T* Type;
+ };
+
+ template<typename T>
+ static T& getOther(T* other)
+ {
+ return *other;
+ }
};
// The Windows compiler seems to be very eager to instantiate things it won't