2005-02-24 Paolo Carlini <pcarlini@suse.de>
* include/tr1/functional (mem_fn): Avoid _T, badname on
Darwin.
From-SVN: r95492
-2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
+2005-02-24 Paolo Carlini <pcarlini@suse.de>
+
+ * include/tr1/functional (mem_fn): Avoid _T, badname on
+ Darwin.
+
+2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
* include/tr1/functional (function): New class template.
(mem_fn): New function template.
* @brief Returns a function object that forwards to the member
* pointer @a pm.
*/
- template<typename _T, typename _Class>
- inline _Mem_fn<_T _Class::*>
- mem_fn(_T _Class::* __pm)
+ template<typename _Tp, typename _Class>
+ inline _Mem_fn<_Tp _Class::*>
+ mem_fn(_Tp _Class::* __pm)
{
- return _Mem_fn<_T _Class::*>(__pm);
+ return _Mem_fn<_Tp _Class::*>(__pm);
}
/**