forked from boostorg/type_traits
boost/type_traits/common_type.hpp: workaround for gcc 3.2 and 3.3 to avoid spurious warning
[SVN r66835]
This commit is contained in:
@ -120,6 +120,11 @@ namespace type_traits_detail {
|
||||
public:
|
||||
typedef BOOST_TYPEOF_TPL(declval_b() ? declval_T() : declval_U()) type;
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && __GNUC__ == 3 && (__GNUC_MINOR__ == 2 || __GNUC_MINOR__ == 3)
|
||||
public:
|
||||
void public_dummy_function_just_to_silence_warning();
|
||||
#endif
|
||||
};
|
||||
|
||||
template <class T>
|
||||
|
Reference in New Issue
Block a user