www.digitalmars.com         C & C++   DMDScript  

c++ - [bug] Partial specialization & member function pointers

reply Daniel James <daniel calamity.org.uk> writes:
I'm getting 'Internal error: template 1869' when I try to compile this:

   template <typename T>
   struct is_mem_fun_pointer { };

   template <class R, class T >
   struct is_mem_fun_pointer<R (T::*)() > { };

   typedef is_mem_fun_pointer<int> test;

I think this might be a regression, as it's causing boost::is_pointer to 
fail, and IIRC it used to work.

May 30 2005
next sibling parent "Walter" <newshound digitalmars.com> writes:
Thanks, Daniel, I'll check it out.
May 30 2005
prev sibling parent "Walter" <newshound digitalmars.com> writes:
The new beta fixes this and some other type_traits issues.


May 30 2005