Remove uses of BOOST_NO_CXX11_HDR_FUNCTIONAL

This commit is contained in:
Peter Dimov
2024-09-25 12:39:46 +03:00
parent dccecc2500
commit 044d1f2cb9
8 changed files with 0 additions and 48 deletions

View File

@ -304,8 +304,6 @@ template< class T > std::size_t hash_value( boost::intrusive_ptr<T> const & p )
// std::hash
#if !defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
namespace std
{
@ -319,6 +317,4 @@ template<class T> struct hash< ::boost::intrusive_ptr<T> >
} // namespace std
#endif // #if !defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
#endif // #ifndef BOOST_SMART_PTR_INTRUSIVE_PTR_HPP_INCLUDED

View File

@ -630,8 +630,6 @@ template< class T > std::size_t hash_value( local_shared_ptr<T> const & p ) BOOS
// std::hash
#if !defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
namespace std
{
@ -645,6 +643,4 @@ template<class T> struct hash< ::boost::local_shared_ptr<T> >
} // namespace std
#endif // #if !defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
#endif // #ifndef BOOST_SMART_PTR_LOCAL_SHARED_PTR_HPP_INCLUDED

View File

@ -952,8 +952,6 @@ template< class T > std::size_t hash_value( boost::shared_ptr<T> const & p ) BOO
// std::hash
#if !defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
namespace std
{
@ -967,8 +965,6 @@ template<class T> struct hash< ::boost::shared_ptr<T> >
} // namespace std
#endif // #if !defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
#include <boost/smart_ptr/detail/local_sp_deleter.hpp>
namespace boost

View File

@ -248,8 +248,6 @@ template< class T > std::size_t hash_value( boost::weak_ptr<T> const & p ) BOOST
namespace std
{
#if !defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
template<class T> struct hash< ::boost::weak_ptr<T> >
{
std::size_t operator()( ::boost::weak_ptr<T> const & p ) const BOOST_SP_NOEXCEPT
@ -258,8 +256,6 @@ template<class T> struct hash< ::boost::weak_ptr<T> >
}
};
#endif // #if !defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
template<class T> struct equal_to< ::boost::weak_ptr<T> >
{
bool operator()( ::boost::weak_ptr<T> const & a, ::boost::weak_ptr<T> const & b ) const BOOST_SP_NOEXCEPT

View File

@ -7,12 +7,6 @@
#include <boost/config.hpp>
#include <functional>
#if defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
int main() {}
#else
class base
{
private:
@ -63,5 +57,3 @@ int main()
return boost::report_errors();
}
#endif // #if defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)

View File

@ -7,12 +7,6 @@
#include <boost/config.hpp>
#include <functional>
#if defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
int main() {}
#else
int main()
{
{
@ -38,5 +32,3 @@ int main()
return boost::report_errors();
}
#endif // #if defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)

View File

@ -7,12 +7,6 @@
#include <boost/config.hpp>
#include <functional>
#if defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
int main() {}
#else
int main()
{
{
@ -38,5 +32,3 @@ int main()
return boost::report_errors();
}
#endif // #if defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)

View File

@ -8,12 +8,6 @@
#include <boost/config.hpp>
#include <functional>
#if defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)
int main() {}
#else
int main()
{
{
@ -57,5 +51,3 @@ int main()
return boost::report_errors();
}
#endif // #if defined(BOOST_NO_CXX11_HDR_FUNCTIONAL)