Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:50:34

0001 #ifndef BOOST_PTR_CONTAINER_DETAIL_PTR_CONTAINER_DISABLE_DEPRECATED_HPP_INCLUDED
0002 #define BOOST_PTR_CONTAINER_DETAIL_PTR_CONTAINER_DISABLE_DEPRECATED_HPP_INCLUDED
0003 
0004 // MS compatible compilers support #pragma once
0005 
0006 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
0007 # pragma once
0008 #endif
0009 
0010 //
0011 //  boost/ptr_container/detail/ptr_container_disable_deprecated.hpp
0012 //
0013 //  Copyright 2015 Peter Dimov
0014 //
0015 //  Distributed under the Boost Software License, Version 1.0.
0016 //  See accompanying file LICENSE_1_0.txt or copy at
0017 //  http://www.boost.org/LICENSE_1_0.txt)
0018 //
0019 
0020 #include <boost/config.hpp>
0021 
0022 #if defined( __GNUC__ ) && ( defined( __GXX_EXPERIMENTAL_CXX0X__ ) || ( __cplusplus >= 201103L ) ) && !defined(BOOST_NO_AUTO_PTR)
0023 
0024 # if defined( BOOST_GCC )
0025 
0026 #  if BOOST_GCC >= 40600
0027 #   define BOOST_PTR_CONTAINER_DISABLE_DEPRECATED
0028 #  endif
0029 
0030 # elif defined( __clang__ ) && defined( __has_warning )
0031 
0032 #  if __has_warning( "-Wdeprecated-declarations" )
0033 #   define BOOST_PTR_CONTAINER_DISABLE_DEPRECATED
0034 #  endif
0035 
0036 # endif
0037 
0038 #endif
0039 
0040 #endif // #ifndef BOOST_PTR_CONTAINER_DETAIL_PTR_CONTAINER_DISABLE_DEPRECATED_HPP_INCLUDED