forked from boostorg/type_traits
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:
@ -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
|
||||
|
Reference in New Issue
Block a user