Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/smart_ptr/detail/sp_nullptr_t.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | c530137014c0 |
children |
rev | line source |
---|---|
Chris@16 | 1 #ifndef BOOST_SMART_PTR_DETAIL_SP_NULLPTR_T_HPP_INCLUDED |
Chris@16 | 2 #define BOOST_SMART_PTR_DETAIL_SP_NULLPTR_T_HPP_INCLUDED |
Chris@16 | 3 |
Chris@16 | 4 // MS compatible compilers support #pragma once |
Chris@16 | 5 |
Chris@16 | 6 #if defined(_MSC_VER) && (_MSC_VER >= 1020) |
Chris@16 | 7 # pragma once |
Chris@16 | 8 #endif |
Chris@16 | 9 |
Chris@16 | 10 // detail/sp_nullptr_t.hpp |
Chris@16 | 11 // |
Chris@16 | 12 // Copyright 2013 Peter Dimov |
Chris@16 | 13 // |
Chris@16 | 14 // Distributed under the Boost Software License, Version 1.0. |
Chris@16 | 15 // See accompanying file LICENSE_1_0.txt or copy at |
Chris@16 | 16 // http://www.boost.org/LICENSE_1_0.txt |
Chris@16 | 17 |
Chris@16 | 18 #include <boost/config.hpp> |
Chris@16 | 19 #include <cstddef> |
Chris@16 | 20 |
Chris@16 | 21 #if !defined( BOOST_NO_CXX11_NULLPTR ) |
Chris@16 | 22 |
Chris@16 | 23 namespace boost |
Chris@16 | 24 { |
Chris@16 | 25 |
Chris@16 | 26 namespace detail |
Chris@16 | 27 { |
Chris@16 | 28 |
Chris@101 | 29 #if !defined( BOOST_NO_CXX11_DECLTYPE ) && ( ( defined( __clang__ ) && !defined( _LIBCPP_VERSION ) ) || defined( __INTEL_COMPILER ) ) |
Chris@16 | 30 |
Chris@16 | 31 typedef decltype(nullptr) sp_nullptr_t; |
Chris@16 | 32 |
Chris@16 | 33 #else |
Chris@16 | 34 |
Chris@16 | 35 typedef std::nullptr_t sp_nullptr_t; |
Chris@16 | 36 |
Chris@16 | 37 #endif |
Chris@16 | 38 |
Chris@16 | 39 } // namespace detail |
Chris@16 | 40 |
Chris@16 | 41 } // namespace boost |
Chris@16 | 42 |
Chris@16 | 43 #endif // !defined( BOOST_NO_CXX11_NULLPTR ) |
Chris@16 | 44 |
Chris@16 | 45 #endif // #ifndef BOOST_SMART_PTR_DETAIL_SP_NULLPTR_T_HPP_INCLUDED |