Commit ea5ec6b7 by Jonathan Wakely Committed by Jonathan Wakely

Include header for std::__parallel::search

	* include/experimental/functional: Include <parallel/algorithm> in
	Parallel Mode.

From-SVN: r238342
parent 47d5cb3c
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 @@ ...@@ -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)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment