Add <span> to <bits/stdc++.h> precompiled header

* include/precompiled/stdc++.h: Include <span> for C++20.
	* testsuite/17_intro/names.cc: Do not define 'e' for C++20.

From-SVN: r276574
This commit is contained in:
Jonathan Wakely 2019-10-04 13:16:56 +01:00 committed by Jonathan Wakely
parent 2e82a4615a
commit 8384956a1b
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2019-10-04 Jonathan Wakely <jwakely@redhat.com>
* include/precompiled/stdc++.h: Include <span> for C++20.
* testsuite/17_intro/names.cc: Do not define 'e' for C++20.
2019-10-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* include/parallel/multiway_merge.h (_RAIter3): Replace _C by _Cp.

View File

@ -139,7 +139,7 @@
// #include <concepts>
#include <numbers>
// #include <ranges>
// #include <span>
#include <span>
// #include <syncstream>
#include <version>
#endif

View File

@ -53,7 +53,10 @@
#endif
// <queue> and <stack> defined data members called c
#define d (
#if __cplusplus <= 201703L
// <numbers> defines std::numbers::e
#define e (
#endif
#define f (
#define g (
#if __cplusplus >= 201402L