fixed bizarre g++ 2.95.2 bug in is_convertible, discovered while

trying to compile counting_iterator_test.cpp. Removed the empty
body of the constructor for accept_any


[SVN r8932]
This commit is contained in:
Jeremy Siek
2001-02-04 22:02:55 +00:00
parent c98df29cea
commit b6dcd7ac0c

View File

@ -482,7 +482,7 @@ private:
// so we only use them for those compilers.
#if defined(__GNUC__)
struct accept_any {
template <class T> accept_any(const T&) { }
template <class T> accept_any(const T&);
};
template <class T>
struct checker