forked from boostorg/type_traits
Disable additional specialization for is_function for msvc-10.0 -
it doesn't work and leads to ambiguous overloads. Also change the expected result of some tests for msvc-14.0.
This commit is contained in:
1 parent
a408a29ffc
commit
66a146c1cb
2 files changed
+12
-4
No files matched your search
@@ -13,6 +13,7 @@
|
||||
|
||||
#include <boost/type_traits/is_reference.hpp>
|
||||
#include <boost/type_traits/detail/config.hpp>
|
||||
#include <boost/config/workaround.hpp>
|
||||
|
||||
#if !defined(BOOST_TT_TEST_MS_FUNC_SIGS)
|
||||
# include <boost/type_traits/detail/is_function_ptr_helper.hpp>
|
||||
@@ -96,8 +97,10 @@ template <class T> struct is_function : integral_constant<bool, ::boost::detail:
|
||||
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||
template <class T> struct is_function<T&&> : public false_type {};
|
||||
#endif
|
||||
#if !BOOST_WORKAROUND(BOOST_MSVC, <= 1600)
|
||||
template <class T> struct is_function<T&> : public false_type {};
|
||||
#endif
|
||||
#endif
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_TT_IS_FUNCTION_HPP_INCLUDED
|
||||
Reference in new issue
Block a user