r241131 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Thu Oct 13 16:59:00 GMT 2016


Author: redi
Date: Thu Oct 13 16:59:19 2016
New Revision: 241131

URL: https://gcc.gnu.org/viewcvs?rev=241131&root=gcc&view=rev
Log:
Avoid #include <functional> in other headers

	* include/bits/shared_ptr_base.h: Include <functional>.
	[!__cpp_rtti]: Do not include <typeinfo>.
	* include/experimental/array: Do not include <functional>.
	* include/experimental/memory: Include <bits/functional_hash.h>
	instead of <functional>.
	* include/experimental/propagate_const: Include <bits/stl_function.h>,
	<bits/functional_hash.h>, and <bits/move.h> instead of <functional>.
	* include/experimental/tuple: Do not include <functional>.
	* include/std/future: Include <functional>.
	* include/std/memory: Do not include <functional>.
	* include/std/mutex: [_GLIBCXX_HAVE_TLS]: Likewise.
	* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: Add
	missing includes.
	* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
	* testsuite/20_util/specialized_algorithms/memory_management_tools/
	1.cc: Likewise.
	* testsuite/30_threads/call_once/60497.cc: Likewise.
	* testsuite/30_threads/lock/2.cc: Likewise.
	* testsuite/30_threads/thread/native_handle/cancel.cc: Likewise.
	* testsuite/experimental/algorithm/sample.cc: Likewise.
	* testsuite/experimental/array/make_array.cc: Likewise.
	* testsuite/experimental/array/neg.cc: Likewise. Adjust dg-error line.
	* testsuite/experimental/propagate_const/assignment/move_neg.cc:
	Adjust dg-error lines.
	* testsuite/experimental/propagate_const/cons/move_neg.cc: Likewise.
	* testsuite/experimental/propagate_const/requirements2.cc: Likewise.
	* testsuite/experimental/propagate_const/requirements3.cc: Likewise.
	* testsuite/experimental/propagate_const/requirements4.cc: Likewise.
	* testsuite/experimental/propagate_const/requirements5.cc: Likewise.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/shared_ptr_base.h
    trunk/libstdc++-v3/include/experimental/array
    trunk/libstdc++-v3/include/experimental/memory
    trunk/libstdc++-v3/include/experimental/propagate_const
    trunk/libstdc++-v3/include/experimental/tuple
    trunk/libstdc++-v3/include/std/future
    trunk/libstdc++-v3/include/std/memory
    trunk/libstdc++-v3/include/std/mutex
    trunk/libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc
    trunk/libstdc++-v3/testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc
    trunk/libstdc++-v3/testsuite/20_util/specialized_algorithms/memory_management_tools/1.cc
    trunk/libstdc++-v3/testsuite/30_threads/call_once/60497.cc
    trunk/libstdc++-v3/testsuite/30_threads/lock/2.cc
    trunk/libstdc++-v3/testsuite/30_threads/thread/native_handle/cancel.cc
    trunk/libstdc++-v3/testsuite/experimental/algorithm/sample.cc
    trunk/libstdc++-v3/testsuite/experimental/array/make_array.cc
    trunk/libstdc++-v3/testsuite/experimental/array/neg.cc
    trunk/libstdc++-v3/testsuite/experimental/propagate_const/assignment/move_neg.cc
    trunk/libstdc++-v3/testsuite/experimental/propagate_const/cons/move_neg.cc
    trunk/libstdc++-v3/testsuite/experimental/propagate_const/requirements2.cc
    trunk/libstdc++-v3/testsuite/experimental/propagate_const/requirements3.cc
    trunk/libstdc++-v3/testsuite/experimental/propagate_const/requirements4.cc
    trunk/libstdc++-v3/testsuite/experimental/propagate_const/requirements5.cc



More information about the Libstdc++-cvs mailing list