forked from boostorg/bind
libstdc++ 4.8 and below don't have std::bit_not. Fixes #28.
This commit is contained in:
@ -142,6 +142,12 @@ template<class T> struct result_traits< unspecified, std::bit_xor<T> >
|
||||
typedef T type;
|
||||
};
|
||||
|
||||
#if defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION < 40900
|
||||
|
||||
// libstdc++ 4.8 and below don't have std::bit_not
|
||||
|
||||
#else
|
||||
|
||||
template<class T> struct result_traits< unspecified, std::bit_not<T> >
|
||||
{
|
||||
typedef T type;
|
||||
@ -149,6 +155,8 @@ template<class T> struct result_traits< unspecified, std::bit_not<T> >
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace _bi
|
||||
|
||||
} // namespace boost
|
||||
|
Reference in New Issue
Block a user