static Yes& Check(...);
public:
- static const bool value = sizeof(Check<Base>(0)) == sizeof(Yes);
+ enum { value = sizeof(Check<Base>(0)) == sizeof(Yes) };
};
// Helpers to assert that arguments of a recounted type are bound with a
static No& Check(...);
public:
- static const bool value = sizeof(Check<T>(0)) == sizeof(Yes);
+ enum { value = sizeof(Check<T>(0)) == sizeof(Yes) };
};
template <typename T>