diff options
author | Jonathan Wakely <jwakely.gcc@gmail.com> | 2012-10-20 02:08:37 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2012-10-20 03:08:37 +0100 |
commit | ae40b500d22714372d1f7099b12c3403e3432093 (patch) | |
tree | dfbad0e2226268be18884174cb1fb66069db6cf9 /libstdc++-v3 | |
parent | 8ddc008379cdc2cb668686adbe8106a169ca1c73 (diff) | |
download | gcc-ae40b500d22714372d1f7099b12c3403e3432093.zip gcc-ae40b500d22714372d1f7099b12c3403e3432093.tar.gz gcc-ae40b500d22714372d1f7099b12c3403e3432093.tar.bz2 |
* include/std/scoped_allocator: Avoid badname.
From-SVN: r192629
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/include/std/scoped_allocator | 20 |
2 files changed, 14 insertions, 10 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3dae0e0..9df0dab 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2012-10-20 Jonathan Wakely <jwakely.gcc@gmail.com> + + * include/std/scoped_allocator: Avoid badname. + 2012-10-19 Jonathan Wakely <jwakely.gcc@gmail.com> * doc/xml/manual/status_cxx2011.xml: Update. diff --git a/libstdc++-v3/include/std/scoped_allocator b/libstdc++-v3/include/std/scoped_allocator index 81365b6..07a2e5e 100644 --- a/libstdc++-v3/include/std/scoped_allocator +++ b/libstdc++-v3/include/std/scoped_allocator @@ -365,31 +365,31 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION construct(pair<_T1, _T2>* __p) { construct(__p, piecewise_construct, tuple<>(), tuple<>()); } - template<typename _T1, typename _T2, typename _U, typename _V> + template<typename _T1, typename _T2, typename _Up, typename _Vp> void - construct(pair<_T1, _T2>* __p, _U&& __u, _V&& __v) + construct(pair<_T1, _T2>* __p, _Up&& __u, _Vp&& __v) { construct(__p, piecewise_construct, - std::forward_as_tuple(std::forward<_U>(__u)), - std::forward_as_tuple(std::forward<_V>(__v))); + std::forward_as_tuple(std::forward<_Up>(__u)), + std::forward_as_tuple(std::forward<_Vp>(__v))); } - template<typename _T1, typename _T2, typename _U, typename _V> + template<typename _T1, typename _T2, typename _Up, typename _Vp> void - construct(pair<_T1, _T2>* __p, const pair<_U, _V>& __x) + construct(pair<_T1, _T2>* __p, const pair<_Up, _Vp>& __x) { construct(__p, piecewise_construct, std::forward_as_tuple(__x.first), std::forward_as_tuple(__x.second)); } - template<typename _T1, typename _T2, typename _U, typename _V> + template<typename _T1, typename _T2, typename _Up, typename _Vp> void - construct(pair<_T1, _T2>* __p, pair<_U, _V>&& __x) + construct(pair<_T1, _T2>* __p, pair<_Up, _Vp>&& __x) { construct(__p, piecewise_construct, - std::forward_as_tuple(std::forward<_U>(__x.first)), - std::forward_as_tuple(std::forward<_V>(__x.second))); + std::forward_as_tuple(std::forward<_Up>(__x.first)), + std::forward_as_tuple(std::forward<_Vp>(__x.second))); } template<typename _Tp> |