mirror of
https://git.suyu.dev/suyu/ext-boost.git
synced 2026-01-03 13:14:36 +01:00
externals: Update boost to 1.72 and add Boost Context
This commit is contained in:
parent
5e8300b76a
commit
77abe07b3b
618 changed files with 96299 additions and 14263 deletions
24
boost/type_traits/cv_traits.hpp
Normal file
24
boost/type_traits/cv_traits.hpp
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
// (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Howard
|
||||
// Hinnant & John Maddock 2000.
|
||||
// Use, modification and distribution are subject to the Boost Software License,
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt).
|
||||
//
|
||||
// See http://www.boost.org/libs/type_traits for most recent version including documentation.
|
||||
//
|
||||
// defines traits classes for cv-qualified types:
|
||||
// is_const, is_volatile, remove_const, remove_volatile, remove_cv.
|
||||
|
||||
#ifndef BOOST_TT_CV_TRAITS_HPP_INCLUDED
|
||||
#define BOOST_TT_CV_TRAITS_HPP_INCLUDED
|
||||
|
||||
#include <boost/type_traits/add_const.hpp>
|
||||
#include <boost/type_traits/add_volatile.hpp>
|
||||
#include <boost/type_traits/add_cv.hpp>
|
||||
#include <boost/type_traits/is_const.hpp>
|
||||
#include <boost/type_traits/is_volatile.hpp>
|
||||
#include <boost/type_traits/remove_const.hpp>
|
||||
#include <boost/type_traits/remove_volatile.hpp>
|
||||
#include <boost/type_traits/remove_cv.hpp>
|
||||
|
||||
#endif // BOOST_TT_CV_TRAITS_HPP_INCLUDED
|
||||
42
boost/type_traits/is_bounded_array.hpp
Normal file
42
boost/type_traits/is_bounded_array.hpp
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
Copyright 2018 Glen Joseph Fernandes
|
||||
(glenjofe@gmail.com)
|
||||
|
||||
Distributed under the Boost Software License,
|
||||
Version 1.0. (See accompanying file LICENSE_1_0.txt
|
||||
or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_TT_IS_BOUNDED_ARRAY_HPP_INCLUDED
|
||||
#define BOOST_TT_IS_BOUNDED_ARRAY_HPP_INCLUDED
|
||||
|
||||
#include <boost/type_traits/integral_constant.hpp>
|
||||
#include <cstddef>
|
||||
|
||||
namespace boost {
|
||||
|
||||
template<class T>
|
||||
struct is_bounded_array
|
||||
: false_type { };
|
||||
|
||||
#if !defined(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS)
|
||||
template<class T, std::size_t N>
|
||||
struct is_bounded_array<T[N]>
|
||||
: true_type { };
|
||||
|
||||
template<class T, std::size_t N>
|
||||
struct is_bounded_array<const T[N]>
|
||||
: true_type { };
|
||||
|
||||
template<class T, std::size_t N>
|
||||
struct is_bounded_array<volatile T[N]>
|
||||
: true_type { };
|
||||
|
||||
template<class T, std::size_t N>
|
||||
struct is_bounded_array<const volatile T[N]>
|
||||
: true_type { };
|
||||
#endif
|
||||
|
||||
} /* boost */
|
||||
|
||||
#endif
|
||||
41
boost/type_traits/is_unbounded_array.hpp
Normal file
41
boost/type_traits/is_unbounded_array.hpp
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/*
|
||||
Copyright 2018 Glen Joseph Fernandes
|
||||
(glenjofe@gmail.com)
|
||||
|
||||
Distributed under the Boost Software License,
|
||||
Version 1.0. (See accompanying file LICENSE_1_0.txt
|
||||
or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_TT_IS_UNBOUNDED_ARRAY_HPP_INCLUDED
|
||||
#define BOOST_TT_IS_UNBOUNDED_ARRAY_HPP_INCLUDED
|
||||
|
||||
#include <boost/type_traits/integral_constant.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
template<class T>
|
||||
struct is_unbounded_array
|
||||
: false_type { };
|
||||
|
||||
#if !defined(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS)
|
||||
template<class T>
|
||||
struct is_unbounded_array<T[]>
|
||||
: true_type { };
|
||||
|
||||
template<class T>
|
||||
struct is_unbounded_array<const T[]>
|
||||
: true_type { };
|
||||
|
||||
template<class T>
|
||||
struct is_unbounded_array<volatile T[]>
|
||||
: true_type { };
|
||||
|
||||
template<class T>
|
||||
struct is_unbounded_array<const volatile T[]>
|
||||
: true_type { };
|
||||
#endif
|
||||
|
||||
} /* boost */
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue