From 8aab3f6c560048e8c0a13c47d07de4b9cb98eb9c Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 17 Oct 2000 11:26:02 +0000 Subject: [PATCH] changed class to struct in is_convertible template [SVN r7966] --- include/boost/detail/type_traits.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/detail/type_traits.hpp b/include/boost/detail/type_traits.hpp index 9b45ca2..3f077d2 100644 --- a/include/boost/detail/type_traits.hpp +++ b/include/boost/detail/type_traits.hpp @@ -465,8 +465,9 @@ template struct is_POD // // is one type convertable to another? template -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: +