Commit f22aa574 by Paolo Carlini Committed by Paolo Carlini

functional_hash.h: Do not include ext/numeric_traits.h.

2007-11-20  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/functional_hash.h: Do not include ext/numeric_traits.h.
	* include/tr1/functional_hash.h: Likewise.
	* include/std/functional: Include ext/type_traits.h.
	* include/tr1/functional: Likewise.

From-SVN: r130314
parent 0a7ea407
2007-11-20 Paolo Carlini <pcarlini@suse.de>
* include/bits/functional_hash.h: Do not include ext/numeric_traits.h.
* include/tr1/functional_hash.h: Likewise.
* include/std/functional: Include ext/type_traits.h.
* include/tr1/functional: Likewise.
2007-11-20 Paolo Carlini <pcarlini@suse.de>
* include/tr1_impl/functional_hash.h
(hash<long double>::operator()(long double)): Only declare.
* src/hash.cc: Define here.
......
......@@ -45,8 +45,6 @@
# error C++0x header cannot be included from TR1 header
#endif
#include <ext/numeric_traits.h>
#if defined(_GLIBCXX_INCLUDE_AS_CXX0X)
# include <tr1_impl/functional_hash.h>
#else
......
......@@ -64,6 +64,7 @@
# include <type_traits>
# include <bits/stringfwd.h>
# include <bits/functional_hash.h>
# include <ext/type_traits.h>
# if defined(_GLIBCXX_INCLUDE_AS_CXX0X)
# include <tr1_impl/functional>
# else
......
......@@ -49,6 +49,7 @@
#include <tr1/type_traits>
#include <bits/stringfwd.h>
#include <tr1/functional_hash.h>
#include <ext/type_traits.h>
#if defined(_GLIBCXX_INCLUDE_AS_TR1)
# include <tr1_impl/functional>
......
......@@ -41,8 +41,6 @@
# error TR1 header cannot be included from C++0x header
#endif
#include <ext/numeric_traits.h>
#if defined(_GLIBCXX_INCLUDE_AS_TR1)
# include <tr1_impl/functional_hash.h>
#else
......
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