This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix gnu.ver, fix std::tr1::hash<long double> on {ppc,s390,sparc,alpha}*-linux


On Fri, Feb 29, 2008 at 09:24:27AM -0800, Benjamin Kosnik wrote:
> Here is here is something that just takes care of this and the other
> issue you mentioned with the hash<error_code> export. 
> 
> Then the system_error stuff will be correct.
> 
> It's my suggestion to put this in and then deal clearly with the long
> double issue. Sound like a plan?

Almost perfect.
I think you should nuke the include/bits/functional_hash.h
namespace std
{
  struct error_code;

  template<>
    size_t
    hash<error_code>::operator()(error_code) const;
}

bits as well, in 4.3 std::error_code isn't defined anywhere.

Once you commit, I'll adjust the long double patch and post it.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]