diff options
Diffstat (limited to 'libstdc++-v3')
29 files changed, 94 insertions, 94 deletions
diff --git a/libstdc++-v3/include/bits/alloc_traits.h b/libstdc++-v3/include/bits/alloc_traits.h index fa93feb..a4d06d3 100644 --- a/libstdc++-v3/include/bits/alloc_traits.h +++ b/libstdc++-v3/include/bits/alloc_traits.h @@ -43,7 +43,7 @@ namespace std _GLIBCXX_VISIBILITY(default) _GLIBCXX_BEGIN_NAMESPACE_VERSION #if __cplusplus >= 201103L -#define __cpp_lib_allocator_traits_is_always_equal 201411 +#define __cpp_lib_allocator_traits_is_always_equal 201411L /// @cond undocumented struct __allocator_traits_base diff --git a/libstdc++-v3/include/bits/allocator.h b/libstdc++-v3/include/bits/allocator.h index ef735f4..e0c322b 100644 --- a/libstdc++-v3/include/bits/allocator.h +++ b/libstdc++-v3/include/bits/allocator.h @@ -49,7 +49,7 @@ #include <type_traits> #endif -#define __cpp_lib_incomplete_container_elements 201505 +#define __cpp_lib_incomplete_container_elements 201505L namespace std _GLIBCXX_VISIBILITY(default) { diff --git a/libstdc++-v3/include/bits/basic_string.h b/libstdc++-v3/include/bits/basic_string.h index fc6a303..c3fbc53 100644 --- a/libstdc++-v3/include/bits/basic_string.h +++ b/libstdc++-v3/include/bits/basic_string.h @@ -4309,7 +4309,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #if __cplusplus >= 201402L -#define __cpp_lib_string_udls 201304 +#define __cpp_lib_string_udls 201304L inline namespace literals { diff --git a/libstdc++-v3/include/bits/chrono.h b/libstdc++-v3/include/bits/chrono.h index ed0e328..4218985 100644 --- a/libstdc++-v3/include/bits/chrono.h +++ b/libstdc++-v3/include/bits/chrono.h @@ -327,7 +327,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #endif // C++20 #if __cplusplus >= 201703L -# define __cpp_lib_chrono 201611 +# define __cpp_lib_chrono 201611L template<typename _ToDur, typename _Rep, typename _Period> constexpr __enable_if_is_duration<_ToDur> @@ -1198,7 +1198,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION } // namespace chrono #if __cplusplus >= 201402L - #define __cpp_lib_chrono_udls 201304 +#define __cpp_lib_chrono_udls 201304L inline namespace literals { diff --git a/libstdc++-v3/include/bits/move.h b/libstdc++-v3/include/bits/move.h index 3697353..af47354 100644 --- a/libstdc++-v3/include/bits/move.h +++ b/libstdc++-v3/include/bits/move.h @@ -130,7 +130,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #if __cplusplus > 201402L // _GLIBCXX_RESOLVE_LIB_DEFECTS // 2296. std::addressof should be constexpr -# define __cpp_lib_addressof_constexpr 201603 +# define __cpp_lib_addressof_constexpr 201603L #endif /** * @brief Returns the actual address of the object or function diff --git a/libstdc++-v3/include/bits/node_handle.h b/libstdc++-v3/include/bits/node_handle.h index fca3585..d7a7a30 100644 --- a/libstdc++-v3/include/bits/node_handle.h +++ b/libstdc++-v3/include/bits/node_handle.h @@ -34,7 +34,7 @@ #pragma GCC system_header #if __cplusplus >= 201703L -# define __cpp_lib_node_extract 201606 +# define __cpp_lib_node_extract 201606L #include <new> #include <bits/alloc_traits.h> diff --git a/libstdc++-v3/include/bits/range_access.h b/libstdc++-v3/include/bits/range_access.h index 62890fc..78fdfe6 100644 --- a/libstdc++-v3/include/bits/range_access.h +++ b/libstdc++-v3/include/bits/range_access.h @@ -252,7 +252,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #endif // C++14 #if __cplusplus >= 201703L -#define __cpp_lib_nonmember_container_access 201411 +#define __cpp_lib_nonmember_container_access 201411L /** * @brief Return the size of a container. diff --git a/libstdc++-v3/include/bits/shared_ptr.h b/libstdc++-v3/include/bits/shared_ptr.h index f44008e..eb828dc 100644 --- a/libstdc++-v3/include/bits/shared_ptr.h +++ b/libstdc++-v3/include/bits/shared_ptr.h @@ -939,7 +939,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { return shared_ptr<const _Tp>(this->_M_weak_this); } #if __cplusplus > 201402L || !defined(__STRICT_ANSI__) // c++1z or gnu++11 -#define __cpp_lib_enable_shared_from_this 201603 +#define __cpp_lib_enable_shared_from_this 201603L /** @{ * Get a `weak_ptr` referring to the object that has `*this` as its base. * @since C++17 diff --git a/libstdc++-v3/include/bits/stl_algo.h b/libstdc++-v3/include/bits/stl_algo.h index 171b877..1f07b9e 100644 --- a/libstdc++-v3/include/bits/stl_algo.h +++ b/libstdc++-v3/include/bits/stl_algo.h @@ -3603,7 +3603,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #if __cplusplus >= 201703L -#define __cpp_lib_clamp 201603 +#define __cpp_lib_clamp 201603L /** * @brief Returns the value clamped between lo and hi. @@ -5858,7 +5858,7 @@ _GLIBCXX_BEGIN_NAMESPACE_ALGO } #if __cplusplus > 201402L -#define __cpp_lib_sample 201603 +#define __cpp_lib_sample 201603L /// Take a random sample from a population. template<typename _PopulationIterator, typename _SampleIterator, typename _Distance, typename _UniformRandomBitGenerator> diff --git a/libstdc++-v3/include/bits/stl_algobase.h b/libstdc++-v3/include/bits/stl_algobase.h index 2e9665b..84a1f9e 100644 --- a/libstdc++-v3/include/bits/stl_algobase.h +++ b/libstdc++-v3/include/bits/stl_algobase.h @@ -1645,7 +1645,7 @@ _GLIBCXX_BEGIN_NAMESPACE_ALGO #if __cplusplus > 201103L -#define __cpp_lib_robust_nonmodifying_seq_ops 201304 +#define __cpp_lib_robust_nonmodifying_seq_ops 201304L /** * @brief Tests a range for element-wise equality. diff --git a/libstdc++-v3/include/bits/stl_function.h b/libstdc++-v3/include/bits/stl_function.h index 25badd5..fee07b2 100644 --- a/libstdc++-v3/include/bits/stl_function.h +++ b/libstdc++-v3/include/bits/stl_function.h @@ -243,7 +243,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #if __cplusplus > 201103L -#define __cpp_lib_transparent_operators 201510 +#define __cpp_lib_transparent_operators 201510L template<> struct plus<void> diff --git a/libstdc++-v3/include/bits/stl_iterator.h b/libstdc++-v3/include/bits/stl_iterator.h index 266ddd0..6a9fd1b 100644 --- a/libstdc++-v3/include/bits/stl_iterator.h +++ b/libstdc++-v3/include/bits/stl_iterator.h @@ -639,7 +639,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { return reverse_iterator<_Iterator>(__i); } # if __cplusplus >= 201402L -# define __cpp_lib_make_reverse_iterator 201402 +# define __cpp_lib_make_reverse_iterator 201402L // _GLIBCXX_RESOLVE_LIB_DEFECTS // DR 2285. make_reverse_iterator diff --git a/libstdc++-v3/include/bits/stl_map.h b/libstdc++-v3/include/bits/stl_map.h index 625760d..9c2b074 100644 --- a/libstdc++-v3/include/bits/stl_map.h +++ b/libstdc++-v3/include/bits/stl_map.h @@ -695,7 +695,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER #endif // C++17 #if __cplusplus > 201402L -#define __cpp_lib_map_try_emplace 201411 +#define __cpp_lib_map_try_emplace 201411L /** * @brief Attempts to build and insert a std::pair into the %map. * diff --git a/libstdc++-v3/include/bits/stl_tree.h b/libstdc++-v3/include/bits/stl_tree.h index e9e71bd..a4de614 100644 --- a/libstdc++-v3/include/bits/stl_tree.h +++ b/libstdc++-v3/include/bits/stl_tree.h @@ -77,7 +77,7 @@ namespace std _GLIBCXX_VISIBILITY(default) _GLIBCXX_BEGIN_NAMESPACE_VERSION #if __cplusplus > 201103L -# define __cpp_lib_generic_associative_lookup 201304 +# define __cpp_lib_generic_associative_lookup 201304L #endif // Red-black tree class, designed for use in implementing STL diff --git a/libstdc++-v3/include/bits/unique_ptr.h b/libstdc++-v3/include/bits/unique_ptr.h index 47796b8..8f4430f 100644 --- a/libstdc++-v3/include/bits/unique_ptr.h +++ b/libstdc++-v3/include/bits/unique_ptr.h @@ -945,7 +945,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { }; #if __cplusplus >= 201402L -#define __cpp_lib_make_unique 201304 +#define __cpp_lib_make_unique 201304L /// @cond undocumented namespace __detail diff --git a/libstdc++-v3/include/bits/unordered_map.h b/libstdc++-v3/include/bits/unordered_map.h index 366ba7c..d5edfde 100644 --- a/libstdc++-v3/include/bits/unordered_map.h +++ b/libstdc++-v3/include/bits/unordered_map.h @@ -443,7 +443,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER insert(const_iterator, node_type&& __nh) { return _M_h._M_reinsert_node(std::move(__nh)).position; } -#define __cpp_lib_unordered_map_try_emplace 201411 +#define __cpp_lib_unordered_map_try_emplace 201411L /** * @brief Attempts to build and insert a std::pair into the * %unordered_map. diff --git a/libstdc++-v3/include/c_global/cmath b/libstdc++-v3/include/c_global/cmath index 651e654..1b993f3 100644 --- a/libstdc++-v3/include/c_global/cmath +++ b/libstdc++-v3/include/c_global/cmath @@ -1847,7 +1847,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #if __cplusplus >= 201703L // [c.math.hypot3], three-dimensional hypotenuse -#define __cpp_lib_hypot 201603 +#define __cpp_lib_hypot 201603L template<typename _Tp> inline _Tp diff --git a/libstdc++-v3/include/c_global/cstddef b/libstdc++-v3/include/c_global/cstddef index b541895..4970c2d 100644 --- a/libstdc++-v3/include/c_global/cstddef +++ b/libstdc++-v3/include/c_global/cstddef @@ -63,7 +63,7 @@ namespace std namespace std { _GLIBCXX_BEGIN_NAMESPACE_VERSION -#define __cpp_lib_byte 201603 +#define __cpp_lib_byte 201603L /// std::byte enum class byte : unsigned char {}; diff --git a/libstdc++-v3/include/std/atomic b/libstdc++-v3/include/std/atomic index 9df1770..bc57659 100644 --- a/libstdc++-v3/include/std/atomic +++ b/libstdc++-v3/include/std/atomic @@ -50,7 +50,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION */ #if __cplusplus >= 201703L -# define __cpp_lib_atomic_is_always_lock_free 201603 +# define __cpp_lib_atomic_is_always_lock_free 201603L #endif template<typename _Tp> diff --git a/libstdc++-v3/include/std/complex b/libstdc++-v3/include/std/complex index f812cd2..8f9368f 100644 --- a/libstdc++-v3/include/std/complex +++ b/libstdc++-v3/include/std/complex @@ -1955,7 +1955,7 @@ inline namespace literals { inline namespace complex_literals { #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wliteral-suffix" -#define __cpp_lib_complex_udls 201309 +#define __cpp_lib_complex_udls 201309L constexpr std::complex<float> operator""if(long double __num) diff --git a/libstdc++-v3/include/std/filesystem b/libstdc++-v3/include/std/filesystem index 274aed6..dd112a2 100644 --- a/libstdc++-v3/include/std/filesystem +++ b/libstdc++-v3/include/std/filesystem @@ -46,7 +46,7 @@ #include <bits/fs_dir.h> #include <bits/fs_ops.h> -#define __cpp_lib_filesystem 201703 +#define __cpp_lib_filesystem 201703L #endif // C++17 diff --git a/libstdc++-v3/include/std/functional b/libstdc++-v3/include/std/functional index ee2a3e8..685a3e1 100644 --- a/libstdc++-v3/include/std/functional +++ b/libstdc++-v3/include/std/functional @@ -1062,7 +1062,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION : true_type { }; // [func.not_fn] Function template not_fn -#define __cpp_lib_not_fn 201603 +#define __cpp_lib_not_fn 201603L /** Wrap a function object to create one that negates its result. * * The function template `std::not_fn` creates a "forwarding call wrapper", @@ -1085,7 +1085,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION } // Searchers -#define __cpp_lib_boyer_moore_searcher 201603 +#define __cpp_lib_boyer_moore_searcher 201603L template<typename _ForwardIterator1, typename _BinaryPredicate = equal_to<>> class default_searcher diff --git a/libstdc++-v3/include/std/iomanip b/libstdc++-v3/include/std/iomanip index 295d34b..5371681 100644 --- a/libstdc++-v3/include/std/iomanip +++ b/libstdc++-v3/include/std/iomanip @@ -448,7 +448,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #if __cplusplus >= 201402L -#define __cpp_lib_quoted_string_io 201304 +#define __cpp_lib_quoted_string_io 201304L /** * @brief Manipulator for quoted strings. diff --git a/libstdc++-v3/include/std/mutex b/libstdc++-v3/include/std/mutex index c89a9d6..f500818 100644 --- a/libstdc++-v3/include/std/mutex +++ b/libstdc++-v3/include/std/mutex @@ -682,7 +682,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION } #if __cplusplus >= 201703L -#define __cpp_lib_scoped_lock 201703 +#define __cpp_lib_scoped_lock 201703L /** @brief A scoped lock type for multiple lockable objects. * * A scoped_lock controls mutex ownership within a scope, releasing diff --git a/libstdc++-v3/include/std/numeric b/libstdc++-v3/include/std/numeric index 3777ae0..5388239 100644 --- a/libstdc++-v3/include/std/numeric +++ b/libstdc++-v3/include/std/numeric @@ -156,10 +156,10 @@ namespace __detail #if __cplusplus >= 201703L -#define __cpp_lib_gcd_lcm 201606 +#define __cpp_lib_gcd_lcm 201606L // These were used in drafts of SD-6: -#define __cpp_lib_gcd 201606 -#define __cpp_lib_lcm 201606 +#define __cpp_lib_gcd 201606L +#define __cpp_lib_lcm 201606L /// Greatest common divisor template<typename _Mn, typename _Nn> diff --git a/libstdc++-v3/include/std/tuple b/libstdc++-v3/include/std/tuple index e6f26ac..6d0060a 100644 --- a/libstdc++-v3/include/std/tuple +++ b/libstdc++-v3/include/std/tuple @@ -1843,7 +1843,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION inline constexpr bool __unpack_std_tuple<_Trait, _Tp, const tuple<_Up...>&> = _Trait<_Tp, const _Up&...>::value; -# define __cpp_lib_apply 201603 +# define __cpp_lib_apply 201603L template <typename _Fn, typename _Tuple, size_t... _Idx> constexpr decltype(auto) @@ -1865,7 +1865,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION _Indices{}); } -#define __cpp_lib_make_from_tuple 201606 +#define __cpp_lib_make_from_tuple 201606L template <typename _Tp, typename _Tuple, size_t... _Idx> constexpr _Tp diff --git a/libstdc++-v3/include/std/type_traits b/libstdc++-v3/include/std/type_traits index 75f50e3..2572d8e 100644 --- a/libstdc++-v3/include/std/type_traits +++ b/libstdc++-v3/include/std/type_traits @@ -67,7 +67,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION constexpr operator value_type() const noexcept { return value; } #if __cplusplus > 201103L -#define __cpp_lib_integral_constant_callable 201304 +#define __cpp_lib_integral_constant_callable 201304L constexpr value_type operator()() const noexcept { return value; } #endif @@ -91,7 +91,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION /// @endcond #if __cplusplus >= 201703L -# define __cpp_lib_bool_constant 201505 +# define __cpp_lib_bool_constant 201505L /// Alias template for compile-time boolean constant types. /// @since C++17 template<bool __v> @@ -188,7 +188,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION inline constexpr bool __and_v = __and_<_Bn...>::value; /// @endcond -#define __cpp_lib_logical_traits 201510 +#define __cpp_lib_logical_traits 201510L template<typename... _Bn> struct conjunction @@ -548,7 +548,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION struct is_function<_Tp&&> : public false_type { }; -#define __cpp_lib_is_null_pointer 201309 +#define __cpp_lib_is_null_pointer 201309L template<typename> struct __is_null_pointer_helper @@ -1594,7 +1594,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #if __cplusplus > 201103L -#define __cpp_lib_transformation_trait_aliases 201304 +#define __cpp_lib_transformation_trait_aliases 201304L /// Alias template for remove_const template<typename _Tp> @@ -2403,7 +2403,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION // Sfinae-friendly result_of implementation: -#define __cpp_lib_result_of_sfinae 201210 +#define __cpp_lib_result_of_sfinae 201210L /// @cond undocumented struct __invoke_memfun_ref { }; @@ -2631,7 +2631,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #endif // C++14 #if __cplusplus >= 201703L || !defined(__STRICT_ANSI__) // c++17 or gnu++11 -#define __cpp_lib_void_t 201411 +#define __cpp_lib_void_t 201411L /// A metafunction that always yields void, used for detecting valid types. template<typename...> using void_t = void; #endif @@ -2768,7 +2768,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION /// @endcond #if __cplusplus > 201402L || !defined(__STRICT_ANSI__) // c++1z or gnu++11 -#define __cpp_lib_is_swappable 201603 +#define __cpp_lib_is_swappable 201603L /// Metafunctions used for detecting swappable types: p0185r1 /// is_swappable @@ -3015,7 +3015,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION /// @endcond #if __cplusplus >= 201703L -# define __cpp_lib_is_invocable 201703 +# define __cpp_lib_is_invocable 201703L /// std::invoke_result template<typename _Functor, typename... _ArgTypes> @@ -3296,7 +3296,7 @@ template<typename _Ret, typename _Fn, typename... _Args> /// @} #ifdef _GLIBCXX_HAVE_BUILTIN_HAS_UNIQ_OBJ_REP -# define __cpp_lib_has_unique_object_representations 201606 +# define __cpp_lib_has_unique_object_representations 201606L /// has_unique_object_representations /// @since C++17 template<typename _Tp> @@ -3316,7 +3316,7 @@ template<typename _Ret, typename _Fn, typename... _Args> #endif #ifdef _GLIBCXX_HAVE_BUILTIN_IS_AGGREGATE -# define __cpp_lib_is_aggregate 201703 +# define __cpp_lib_is_aggregate 201703L /// is_aggregate /// @since C++17 template<typename _Tp> diff --git a/libstdc++-v3/include/std/version b/libstdc++-v3/include/std/version index 64759c9..30e04b5 100644 --- a/libstdc++-v3/include/std/version +++ b/libstdc++-v3/include/std/version @@ -36,7 +36,7 @@ // c++03 #if _GLIBCXX_HOSTED -# define __cpp_lib_incomplete_container_elements 201505 +# define __cpp_lib_incomplete_container_elements 201505L #endif #if !defined(__STRICT_ANSI__) @@ -46,11 +46,11 @@ #if __cplusplus >= 201103L // c++11 -#define __cpp_lib_is_null_pointer 201309 -#define __cpp_lib_result_of_sfinae 201210 +#define __cpp_lib_is_null_pointer 201309L +#define __cpp_lib_result_of_sfinae 201210L #if _GLIBCXX_HOSTED -# define __cpp_lib_allocator_traits_is_always_equal 201411 +# define __cpp_lib_allocator_traits_is_always_equal 201411L #if __cplusplus <= 201703L // N.B. updated value in C++20 # define __cpp_lib_shared_ptr_arrays 201611L #endif @@ -58,10 +58,10 @@ #if !defined(__STRICT_ANSI__) // gnu++11 -# define __cpp_lib_is_swappable 201603 -# define __cpp_lib_void_t 201411 +# define __cpp_lib_is_swappable 201603L +# define __cpp_lib_void_t 201411L # if _GLIBCXX_HOSTED -# define __cpp_lib_enable_shared_from_this 201603 +# define __cpp_lib_enable_shared_from_this 201603L # endif #endif @@ -73,100 +73,100 @@ #if __cpp_impl_coroutine # define __cpp_lib_coroutine 201902L #endif -#define __cpp_lib_integral_constant_callable 201304 +#define __cpp_lib_integral_constant_callable 201304L #define __cpp_lib_is_final 201402L -#define __cpp_lib_transformation_trait_aliases 201304 +#define __cpp_lib_transformation_trait_aliases 201304L #if _GLIBCXX_HOSTED -# define __cpp_lib_chrono_udls 201304 -# define __cpp_lib_complex_udls 201309 -# define __cpp_lib_exchange_function 201304 -# define __cpp_lib_generic_associative_lookup 201304 -# define __cpp_lib_integer_sequence 201304 -# define __cpp_lib_make_reverse_iterator 201402 -# define __cpp_lib_make_unique 201304 +# define __cpp_lib_chrono_udls 201304L +# define __cpp_lib_complex_udls 201309L +# define __cpp_lib_exchange_function 201304L +# define __cpp_lib_generic_associative_lookup 201304L +# define __cpp_lib_integer_sequence 201304L +# define __cpp_lib_make_reverse_iterator 201402L +# define __cpp_lib_make_unique 201304L # ifndef _GLIBCXX_DEBUG // PR libstdc++/70303 # define __cpp_lib_null_iterators 201304L # endif -# define __cpp_lib_quoted_string_io 201304 -# define __cpp_lib_robust_nonmodifying_seq_ops 201304 +# define __cpp_lib_quoted_string_io 201304L +# define __cpp_lib_robust_nonmodifying_seq_ops 201304L # ifdef _GLIBCXX_HAS_GTHREADS # define __cpp_lib_shared_timed_mutex 201402L # endif -# define __cpp_lib_string_udls 201304 -# define __cpp_lib_transparent_operators 201510 +# define __cpp_lib_string_udls 201304L +# define __cpp_lib_transparent_operators 201510L # define __cpp_lib_tuple_element_t 201402L # define __cpp_lib_tuples_by_type 201304L #endif #if __cplusplus >= 201703L // c++17 -#define __cpp_lib_addressof_constexpr 201603 -#define __cpp_lib_atomic_is_always_lock_free 201603 -#define __cpp_lib_bool_constant 201505 -#define __cpp_lib_byte 201603 +#define __cpp_lib_addressof_constexpr 201603L +#define __cpp_lib_atomic_is_always_lock_free 201603L +#define __cpp_lib_bool_constant 201505L +#define __cpp_lib_byte 201603L #ifdef _GLIBCXX_HAVE_BUILTIN_HAS_UNIQ_OBJ_REP -# define __cpp_lib_has_unique_object_representations 201606 +# define __cpp_lib_has_unique_object_representations 201606L #endif #ifdef _GLIBCXX_HAVE_BUILTIN_IS_AGGREGATE -# define __cpp_lib_is_aggregate 201703 +# define __cpp_lib_is_aggregate 201703L #endif -#define __cpp_lib_is_invocable 201703 -#define __cpp_lib_is_swappable 201603 +#define __cpp_lib_is_invocable 201703L +#define __cpp_lib_is_swappable 201603L #ifdef _GLIBCXX_HAVE_BUILTIN_LAUNDER -# define __cpp_lib_launder 201606 +# define __cpp_lib_launder 201606L #endif -#define __cpp_lib_logical_traits 201510 +#define __cpp_lib_logical_traits 201510L #define __cpp_lib_type_trait_variable_templates 201510L #define __cpp_lib_uncaught_exceptions 201411L -#define __cpp_lib_void_t 201411 +#define __cpp_lib_void_t 201411L #if _GLIBCXX_HOSTED #define __cpp_lib_any 201606L -#define __cpp_lib_apply 201603 +#define __cpp_lib_apply 201603L #if __cplusplus == 201703L // N.B. updated value in C++20 # define __cpp_lib_array_constexpr 201803L #endif -#define __cpp_lib_as_const 201510 -#define __cpp_lib_boyer_moore_searcher 201603 -#define __cpp_lib_chrono 201611 -#define __cpp_lib_clamp 201603 +#define __cpp_lib_as_const 201510L +#define __cpp_lib_boyer_moore_searcher 201603L +#define __cpp_lib_chrono 201611L +#define __cpp_lib_clamp 201603L #if __cplusplus == 201703L // N.B. updated value in C++20 # if _GLIBCXX_HAVE_IS_CONSTANT_EVALUATED # define __cpp_lib_constexpr_char_traits 201611L # define __cpp_lib_constexpr_string 201611L # endif #endif -#define __cpp_lib_enable_shared_from_this 201603 +#define __cpp_lib_enable_shared_from_this 201603L #define __cpp_lib_execution 201902L // FIXME: should be 201603L -#define __cpp_lib_filesystem 201703 -#define __cpp_lib_gcd 201606 -#define __cpp_lib_gcd_lcm 201606 +#define __cpp_lib_filesystem 201703L +#define __cpp_lib_gcd 201606L +#define __cpp_lib_gcd_lcm 201606L #ifdef __GCC_DESTRUCTIVE_SIZE # define __cpp_lib_hardware_interference_size 201703L #endif -#define __cpp_lib_hypot 201603 +#define __cpp_lib_hypot 201603L #define __cpp_lib_invoke 201411L -#define __cpp_lib_lcm 201606 -#define __cpp_lib_make_from_tuple 201606 -#define __cpp_lib_map_try_emplace 201411 +#define __cpp_lib_lcm 201606L +#define __cpp_lib_make_from_tuple 201606L +#define __cpp_lib_map_try_emplace 201411L #define __cpp_lib_math_special_functions 201603L #ifdef _GLIBCXX_HAS_GTHREADS # define __cpp_lib_memory_resource 201603L #else # define __cpp_lib_memory_resource 1 #endif -#define __cpp_lib_node_extract 201606 -#define __cpp_lib_nonmember_container_access 201411 -#define __cpp_lib_not_fn 201603 +#define __cpp_lib_node_extract 201606L +#define __cpp_lib_nonmember_container_access 201411L +#define __cpp_lib_not_fn 201603L #if __cplusplus == 201703L // N.B. updated value in C++20 # define __cpp_lib_optional 201606L #endif #define __cpp_lib_parallel_algorithm 201603L #define __cpp_lib_raw_memory_algorithms 201606L -#define __cpp_lib_sample 201603 +#define __cpp_lib_sample 201603L #ifdef _GLIBCXX_HAS_GTHREADS -# define __cpp_lib_scoped_lock 201703 +# define __cpp_lib_scoped_lock 201703L # define __cpp_lib_shared_mutex 201505L #endif #define __cpp_lib_shared_ptr_weak_type 201606L @@ -174,7 +174,7 @@ #if _GLIBCXX_HAVE_USELOCALE # define __cpp_lib_to_chars 201611L #endif -#define __cpp_lib_unordered_map_try_emplace 201411 +#define __cpp_lib_unordered_map_try_emplace 201411L #ifndef _GLIBCXX_HAVE_COND_TRIVIAL_SPECIAL_MEMBERS // N.B. updated value in C++20 # define __cpp_lib_variant 202102L diff --git a/libstdc++-v3/libsupc++/new b/libstdc++-v3/libsupc++/new index 51604f1..ecd82f6 100644 --- a/libstdc++-v3/libsupc++/new +++ b/libstdc++-v3/libsupc++/new @@ -186,7 +186,7 @@ inline void operator delete[](void*, void*) _GLIBCXX_USE_NOEXCEPT { } namespace std { #ifdef _GLIBCXX_HAVE_BUILTIN_LAUNDER -#define __cpp_lib_launder 201606 +#define __cpp_lib_launder 201606L /// Pointer optimization barrier [ptr.launder] template<typename _Tp> [[nodiscard]] constexpr _Tp* |