changed class to struct in is_convertible template

[SVN r7966]
This commit is contained in:
John Maddock
2000-10-17 11:26:02 +00:00
parent dc00d7ce4d
commit 8aab3f6c56

View File

@ -465,8 +465,9 @@ template <typename T, std::size_t sz> struct is_POD<T[sz]>
//
// is one type convertable to another?
template <class From, class To>
class is_convertible
struct is_convertible
{
private:
typedef char (&no)[1];
typedef char (&yes)[2];
# if defined(__BORLANDC__) || defined(__GNUC__)
@ -643,3 +644,4 @@ public: