Corrected an inconsistency with recent changes in tuple, and perfect forwarding within bind

llvm-svn: 115930
This commit is contained in:
Howard Hinnant 2010-10-07 18:03:23 +00:00
parent 49715fd494
commit 0f444b3b16
1 changed files with 2 additions and 2 deletions

View File

@ -1683,7 +1683,7 @@ public:
{
// compiler bug workaround
return __apply_functor(__f_, __bound_args_, __indices(),
tuple<_Args&&...>(__args...));
tuple<_Args&&...>(_STD::forward<_Args>(__args)...));
}
template <class ..._Args>
@ -1692,7 +1692,7 @@ public:
operator()(_Args&& ...__args) const
{
return __apply_functor(__f_, __bound_args_, __indices(),
tuple<_Args&&...>(__args...));
tuple<_Args&&...>(_STD::forward<_Args>(__args)...));
}
};