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:
1 parent
c98df29cea
commit
b6dcd7ac0c
1 file changed
+1
-1
@@ -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