]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r228328:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 30 Dec 2011 22:59:00 +0000 (22:59 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 30 Dec 2011 22:59:00 +0000 (22:59 +0000)
commit8e8b8d813f80112c259d13391546821abc30fc4b
tree5950b1a123b9f0bf31238a5e1d8aae5fd8b3feb8
parent342b762381cbfb7532deceb4a1d42efe95171f9e
MFC r228328:

Make it possible to use the debug versions of std::map and std::multimap
with clang, by removing two unneeded using declarations.  Otherwise, you
would get errors similar to:

/usr/include/c++/4.2/debug/map.h:77:20: error: dependent using declaration resolved to type without 'typename'
      using _Base::value_compare;
   ^

N.B.: Take care when you actually use the debug versions of any
libstdc++ header.  They are more likely to contain problems, because
they are exercised far less often, and since the standard library
complexity guarantees don't always apply anymore, compile times can
drastically increase.

git-svn-id: svn://svn.freebsd.org/base/stable/9@229046 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/libstdc++/include/debug/map.h
contrib/libstdc++/include/debug/multimap.h