mirror of git://gcc.gnu.org/git/gcc.git
Include header for std::__parallel::search
* include/experimental/functional: Include <parallel/algorithm> in Parallel Mode. From-SVN: r238342
This commit is contained in:
parent
47d5cb3c3b
commit
ea5ec6b7e0
|
|
@ -1,5 +1,8 @@
|
||||||
2016-07-14 Jonathan Wakely <jwakely@redhat.com>
|
2016-07-14 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
|
* include/experimental/functional: Include <parallel/algorithm> in
|
||||||
|
Parallel Mode.
|
||||||
|
|
||||||
* testsuite/experimental/functional/searchers.cc: Include <algorithm>
|
* testsuite/experimental/functional/searchers.cc: Include <algorithm>
|
||||||
for std::search.
|
for std::search.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,9 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <bits/stl_algo.h>
|
#include <bits/stl_algo.h>
|
||||||
|
#ifdef _GLIBCXX_PARALLEL
|
||||||
|
# include <parallel/algorithm> // For std::__parallel::search
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace std _GLIBCXX_VISIBILITY(default)
|
namespace std _GLIBCXX_VISIBILITY(default)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue